subject

Consider the following program in which the statements are in the incorrect order. rearrange the statements so that the program prompts the user to input the height and the radius of the base of a cylinder and outputs the volume and surface area of the cylinder. formant the output to two decimal places.
#include
#include
int main ()
{}
double height;
cout < < ”volume of the cylinder = “
< cout < < “enter the height if the cylinder: “;
cin > > radius;
cout < < endl;
return 0;
double radius;
cout < < “surface area: “
< < 2 * radius * + 2 * pi * pow (radius, 2.0) < < endl;
cout < < fixed < < showpoint < < setprecision (2);
cout < < “enter the radius of the base of the cylinder: “;
cin > > height;
cout < < endl;
#include
const double pi = 3.14159;
using namespace std;

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:30
You picked the corridor which led you here. if the guards find you, they're going to be really angry! what is the synonym of angry
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
question
Computers and Technology, 24.06.2019 00:30
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Why is it uncommon for users to perform searches directly in database tables? a.)users are discouraged from interacting directly with tables because they might confuse tables with spreadsheets. b.) users are discouraged from interacting directly with tables because this may result in unintended changes to source data. c.)users do not have the technical skills required to perform searches directly in database tables. d.)users do not have the permissions required to perform searches directly in database tables.
Answers: 1
You know the right answer?
Consider the following program in which the statements are in the incorrect order. rearrange the sta...
Questions