Define a class TEST in C++ with following description:
Private Members
TestCode of type integer
Description of type string
NoCandidate of type integer
CenterReqd (number of centers required) of type integer
A member function CALCNTR() to calculate and return the number of centers as
(NoCandidates/100+1)
Public Members
A function SCHEDULE() to allow user to enter values for TestCode, Description,
NoCandidate & call function CALCNTR() to calculate the number of Centres.
A function DISPTEST() to allow user to view the content of all the data members.
memory management within an operating system
Create a software that has multiple features to handle books management.Book shop have 100 books for customers.The shop gives book on rent and charge per day according to type of book.Write a main function that will display these options 1.Rent a Book 2.Calculate total amount of all currently Rented Books 3.Exit the program.Ask Repeatedly by showing menu unless user exit program Create Structure to store this data for each book I.e (for 100 books) Book Id, Book name, Customer name, Type of book (Novel=2000, Academic=1500, Philosophy=2000, Islamic=1000) , No of days.Create a Structure array of Books for 100 Books data.Program should calculate total fee of all rented books in shop currently to keep.You need to firstly calculate fee for each book separately by checking their days and then finally you have to calculate all amount of currently rented books.Also show customer name of book who have payed most amount. Finally get count of available book along with type and display.
Create software that has multiple features to handle books management. Book shop have 100 books for customers.The shop gives book on rent and charge per day according to type of book.Write a main function that will display these options 1.Rent a Book 2.Calculate total amount of all currently Rented Books 3.Exit program.Ask Repeatedly by showing menu unless user exit program Create Structure to store this data for each book I.e (for 100 books) Book Id, Book name, Customer name, Type of book (Novel=2000, Academic=1500, Philosophy=2000, Islamic=1000), No of days.Create a Structure array of Books for 100 Books data.Program should calculate total fee of all rented books in shop currently to keep.You need to firstly calculate fee for each book separately by checking their days and then finally you have to calculate all amount of currently rented books. also show customer name of book who have payed most amount. Finally get count of available book along with type and display.
Create a software that has multiple features to handle books management. Book shop have 100 books for customers. The shop gives book on rent and charge per day according to type of book. Write a main function that will display these options 1. Rent a Book 2.Calculate total amount of all currently Rented Books 3 .Exit the program. Ask Repeatedly by showing menu unless user exit program Create Structure to store this data for each book I.e (for 100 books) Book Id, Book name, Customer name, Type of book (Novel=2000, Academic=1500, Philosophy=2000, Islamic=1000) , No of days. Create a Structure array of Books for 100 Books data. Program should calculate total fee of all rented books in shop currently to keep. You need to firstly calculate fee for each book separately by checking their days and then finally you have to calculate all amount of currently rented books. As well as show customer name of book who have payed most amount. Finally get count of available book along with type and display.
Comment on the output of this C++ code? #include struct temp { int a; int b; int c; }; int main() { struct temp p[] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}; return 0; } 1. No Compile time error, generates an array of structure of size 3 2. No Compile time error, generates an array of structure of size 9 3. Compile time error, illegal declaration of a multidimensional array 4. Compile time error, illegal assignment to members of structure
Write a c++ program on the topic myself.The program must have 15 cout statement but the output must be on ten lines. The first output line must be heading of the message and the second must be underline between the last but one line and the last line of your output there must be three line spaces .your program must both have end line or new line
Write a program to elaborate the concept of function overloading using pointers as a function arguments.
What is meant by Fibonacci series/sequence? Write a program to generate Fibonacci sequence by using user defined functions.
write a class employee that contains attributes of employee id and his scale.the class contains member functions to input and show <b><i>the</i></b> attribute.Write a child class manager that inherits Employee class.The child class has attributes of manager id and his department. It also contains the member functions to input and show its <b><i>attributes</i></b>