Question: Creating a symbolic constant in a program for the speed of light = 2.99792x10 8 m/s would look like which of the following lines in
Creating a symbolic constant in a program for the speed of light = 2.99792x108 m/s would look like which of the following lines in C++.
| speed_of_light = 2.99792x108 | ||
| double speed_of_light = 2.99792e8 | ||
| const double speed_of_light = 2.99792e8m/s | ||
| const double speed_of_light = 2.99792e8 |
Expressing the following number in C++ in scientific Notation is represented correctly by which of the following choices?
28,450,000
| 2.845 x 107 | ||
| 2.845 x 10-7 | ||
| 2.845e7 | ||
| 28.45e6 |
Express the value of the following scientific notation number in c++ in floating point notation by picking the correct choise?
6.67e-4
| 6.67x 10-4 | ||
| 0.0000667 | ||
| 0.000667 | ||
| 0.667e-3 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
