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

Post New Answer

More C++ General Interview Questions

How to stop conversions among objects?

5 Answers   Symphony,


What is a character in c++?

0 Answers  


write a program that will produce the ff. output. "what fruit will you buy? 1)apple 2)orange 3)mango ENTER CHOICE (1,2 or 3)> HOW MANY WILL YOU BUY?> THAT WILL COST XX.XX

1 Answers  


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

0 Answers  


Is c++ a dying language?

0 Answers  






Can we make copy constructor private in c++?

0 Answers  


what is Loop function? What are different types of Loops?

0 Answers  


Why do we use using namespace std in c++?

0 Answers  


Describe delete operator?

0 Answers  


Can you please explain the difference between overloading and overriding?

0 Answers  


What is abstract keyword in c++?

0 Answers  


How to defines the function in c++?

0 Answers  


Categories