00:01
To learn how to calculate weights on other planets in c++.
00:07
So to get started, we want to create an integer for the weight.
00:13
And then we want to print a message asking the user to enter the weight.
00:28
Okay, so now that we've asked the user, now we're going to store the input the user and the weight variable.
00:39
So you're going to use c -n and then wait, the name of our verb.
00:48
Now we need to consider a few other things.
00:54
We want to consider creating a variable for moon weight and mars weight.
01:03
So let's use double moon weight and then w on, mars w.
01:11
So here, we're simply going to pretty much look up the weights, how to calculate different weights for planets.
01:26
And when you look up how to calculate the different weights, you will see how, what you need to do.
01:36
So when you look up the how to calculate your weight on mars, you need your rate, you need your rate divided by 9.
01:46
And then multiplied by 3 .711...