00:01
So first of all we will write hash include io stream.
00:12
So io stream is a header file that is used to work with input and output objects.
00:19
Next we will write using namespace std.
00:28
So if we want to use the names of the variables and object from the standard library, so we will write using namespace std.
00:37
Next we will write int main.
00:40
So this is the starting point of program execution.
00:44
Since it is int, it will return an integer.
00:48
Next we will create a constant value using the const keyword double light speed.
01:01
So light speed is the name of the variable, the type is double, and constant means the value of the light speed will remain unchanged.
01:09
And we will give this a value 1 .86 e to the power 5.
01:15
So e5 indicates 1 .86 into 10 to the power 5.
01:22
Next we will create the variables as given in the question.
01:26
Double sun that is the distance of sun to from the earth that is 9 .3 e to the power 7.
01:40
Similarly double saturn, the distance of saturn from the earth is 8 .92 e to the power 8...