subject
Engineering, 24.10.2019 04:50 kelsotay623

Consider the following c++ program in which the statements are in the incorrect order. rearrange the statements so that it prompts the user to input the radius of a circle and outputs the area and circumference of the circle. #include { int main() cout < < "enter the radius: "; cin > > radius; cout < < endl; double radius; double area; using namespace std; return 0; cout < < "area = " < < area < < endl; area = pi * radius * radius; circumference = 2 * pi * radius; cout < < "circumference = " < < circumference < < endl; const double pi = 3.14; double circumference; }

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Heat is added to a piston-cylinder device filled with 2 kg of air to raise its temperature 400 c from an initial temperature of t1 27 cand pressure of pi 1 mpa. the process is isobaric process. find a)-the final pressure p2 b)-the heat transfer to the air.
Answers: 1
question
Engineering, 04.07.2019 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Ajournal bearing has a journal diameter of 3.250 in with a unilateral tolerance of 20.003 in. the bushing bore has a diameter of 3.256 in and a unilateral tolerance of 0.004 in. the bushing is 2.8 in long and supports a 700-lbf load. the journal speed is 900 rev/min. find the minimum oil film thickness and the maximum film pressure for both sae 20 and sae 20w-30 lubricants, for the tightest assembly if the operating film temperature is 160°f. a computer code is appropriate for solving this problem.
Answers: 3
question
Engineering, 04.07.2019 18:10
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
You know the right answer?
Consider the following c++ program in which the statements are in the incorrect order. rearrange the...
Questions
question
Geography, 05.11.2020 21:30
question
Geography, 05.11.2020 21:30
question
Mathematics, 05.11.2020 21:30
question
History, 05.11.2020 21:30
Questions on the website: 13722367