Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.
No Answer is Posted For this Question
Be the First to Post Answer
What is time_t c++?
what is an array
Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.
What is difference between c++ and c ++ 14?
what is polymorphism?
What do you mean by internal linking and external linking in c++?
Is map ordered c++?
Explain rtti.
What is the arrow operator in c++?
Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether it’s a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.
How do pointers work?
How do you flush std cout?