6 solutions available
Question 4Define a class named BookFair with the following description:Instance variables/Data members:String Bname — stores the name of the...
Question 5Using the switch statement, write a menu driven program for the following:(i) To print the Floyd’s triangle [Given below]12 34 5 67...
Question 6Special words are those words which start and end with the same letter.Example: EXISTENCE, COMIC, WINDOWPalindrome words are those words...
Question 7Design a class to overload a function sumSeries() as follows:(i) void sumSeries(int n, double x): with one integer argument and one double...
Question 8Write a program to accept a number and check and display whether it is a Niven number or not.(Niven number is that number which is...
Question 9Write a program to initialize the seven Wonders of the World along with their locations in two different arrays. Search for a name of the...