: Write a program to perform class to basic conversion[Such as: Class is: Triangle with data members base and height(float), and basic type is float(area of triangle)].
Write a program to overload operators in the same program by writing suitable operator friend functions for following expression: O6=((O1+O2) -(O3*O4) * (++O5)) [Here O1,O2,O3,O4,O5 and O6 are objects of a class “overloading”, and this class is having one integer data member]
: Write a program to write 5 book records in a file. Program should also perform random access in the file, after taking input for a particular record number to read and it should also perform random record overwriting after taking input of new record and the record number to overwrite. [Attributes of book: Book_id, Book_price, Book_name, Book_author_name]
Input the gender of 10 students in the form of m, M or f, F. Display how many students are male and female. Use for loop and while loop.
What are the different characteristics for inline function
program to check whether a no is palindrome or not using friend function.
Program to print fibonacci series using classes and objects
: Write a program to overload operators in the same program by writing suitable operator friend
functions for following expression:
O7=((O1>=O2) +(O3 && O4) *(O5<O6)) [Here O1,O2,O3,O4,O5,O6 and O7 are objects of a class
“overloading”, and this class is having one integer data member]
Write c++ program that receives the radius of a circle and calculate The area
Write a program to overload operators in the same program by writing suitable operator member functions for following expression: O7= ((O1 % O2)>(O3 || O4) - (O5>O6)) [Here O1,O2,O3,O4,O5,O6 and O7 are objects of a class “overloading”, and this class is having one integer data member]