Question: 1. (20 points) Write the Hello, world! program. 2. (30 points) Write a program to calculate the sum from -5 to10 Use the for loop

 1. (20 points) Write the "Hello, world!" program. 2. (30 points)

1. (20 points) Write the "Hello, world!" program. 2. (30 points) Write a program to calculate the sum from -5 to10 Use the for loop to do the calculation. 3. (20 points) Write a complete C++ program that asks the user to enter the necessary information about the cylinder, calculate the volume in a function (named as calculate vol, using reference to pass the volume value out), then display the cylinder volume in main function. The volume of cylinder is: Vol-cylinder = h where is 3.14159265, r is the radius, and h is the height. 4. (30 points) Declare a vector container. Using keyboard to input several integer numbers, say at least six integer numbers; find the smallest number and display the result. End of document

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!