Write a complete C++ program
a) that will prompt the number of the pancake produce per day, the thickness in mm (millimetres) and the diameter in cm (centimetres) of each pancake,
b) to identify and display minimum and maximum for both dimensions,
c) to calculate and display the average for both the dimensions
Write a program to create a class which name is rectangle and also creat two data members Wich data type is float and calculate area of triangle which formula is(area=1/2 *base*height) uses constructor
Write a program that requests the user for 20 numbers and calculates the average of the numbers which are smaller than 10. You have to make use of a loop.
Write a program to display the squares of all the numbers 1 to 100 in a table format similar to the output displayed. You have to make use of a loop. (Note: the output shown here is only an extract of the output your program should give)
person details:
Give an object person containing a person details, write Js to log the name, address ,nicknames count.
input: The input will be a single line containing an object person
output: The first line of out put should contain the name and address of the person as shown in the sample output
The second line of output should contain the nicknames count of the person as shown in the sample output.
Constraints: The keys of object should be in quotes while giving the input.
input:{'name': 'Pranay', 'address': {'city': 'Mumbai', 'state': 'Maharashtra'}, ' nickNames': ['Nani', 'Chanti ']}
out put become:
Pranay is Mumbai, Maharashtra
Pranay has 2 nicknames.
Write a program to display the numbers 8 down to 0 underneath one another, making use of a loop
Write a program to display the numbers 1 to 14 next to one another (but with spaces in between), making use of a loop
Write an application for Furniture Company Sdn Bhd, the program determines the total price of a table. Ask the user to choose 1 for pine, 2 for oak, or 3 for mahogany and prompt the user to enter the number of a table. The output is the name of the wood chosen as well as the price of the table. Pine table cost RM100, oak tables cost RM225, and mahogany tables cost RM310. If the user enters an invalid wood code, set the price to 0.
Furniture Company Sdn Bhd also gives an appreciation for the member card holder with 6% off from the total price. The above price is exclude government tax RM 5.60.
Save the file as Furniture.java.
Write a program that would print the information (name, year of joining, address) of three employees by creating a class Employee. Create a method called setDetails(...) that takes 3 parameters and initialises the values of the parameters to the corresponding member variables. Create a method printInfo() that prints details of each employee. Create the main method and produce the following outputs: Name Year of joining Address Robert 1994 64C- WallsStreat Sam 2000 68D- WallsStreat John 1999 26B- WallsStreat Note: Write both the class Employee and the main method on the same file called Employee.cpp.
Write a program to create a class which name is rectangle and also creat two data members Wich data type is float and calculate area of triangle which formula is(area=1/2 *base*height)