subject
Physics, 26.11.2019 21:31 emma3216

The code segment below is intended to calculate the circumference c of a circle with the diameter d of 1.5. the circumference of a circle is equal to its diameter times pi. /* missing declarations */c = pi * d; which of the following variable declarations are most appropriate to replace /* missing declarations */ in this code segment? a) int pi = 3.14159; int d = 1.5; final int c; b) final int pi = 3.14159; int d = 1.5; int c; c) final double pi = 3.14159; double d = 1.5; double c; d) double pi = 3.14159; double d = 1.5; final double c = 0.0; e) final double pi = 3.14159; final double d = 1.5; final double c = 0.0;

ansver
Answers: 2

Another question on Physics

question
Physics, 22.06.2019 03:00
Standing side by side ,you and a friend step off a bridge at different times and fall for 1.6s to the water below.your friend goes first,and you follow after he has dropped a distance of 2.0m.when your friend hits the water,is the seperation between the two of you 2.0m or more than 2.0m? verify your answer with a calculation.
Answers: 2
question
Physics, 22.06.2019 06:30
In positive numbers less than 1, the zeros between the decimal point and a non-zero number are blank significant
Answers: 1
question
Physics, 22.06.2019 11:00
How do we measure or think of speed in the united states?
Answers: 1
question
Physics, 22.06.2019 16:00
Two balls, each with a mass of 0.5 kg, collide on a pool table. is the law of conservation of momentum satisfied in the collision? explain why or why not
Answers: 1
You know the right answer?
The code segment below is intended to calculate the circumference c of a circle with the diameter d...
Questions
question
Mathematics, 25.11.2020 05:40
question
German, 25.11.2020 05:40
question
Health, 25.11.2020 05:40
Questions on the website: 13722367