Questions: 9 913

Answers by our Experts: 9 913

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

How to convert basic data to user


defined data type? Explain

write a program to add three find factorial using class


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 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 take input for n book records from user and write those book records in a file named: ”record”, whose price is less than INR 500 . 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. After overwriting record, display all records on the screen [Attributes of book: Book_id, Book_price, Book_name, Book_author_name]


 Create an Address class, which contains street#, house#, city and code (all of type char*).

Create another class Person that contains an address of type Address. Give appropriate get

and set functions for both classes. Test class person in main.


Create a counter class, overload ++ operator for counter post and pre increment, use the

object of counter class as a loop counter for printing a table in main function.


Write a C++ program that creates a 2D array having 4 rows and 4 columns. Then, ask the user to input values for the 2D array or matrix. After that, the program should calculate transpose of a matrix. Transpose is basically calculated by changing rows of matrix into columns and columns into rows. After calculating, display the final matrix?



Write a program to take input for n book records from user and write those book records in a file named: ”record”, whose price is less than INR 500 . 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. After overwriting record, display all records on the screen. [Attributes of book: Book_id, Book_price, Book_name, Book_author_name]


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)].

LATEST TUTORIALS
APPROVED BY CLIENTS