I need to write a program that calculates a person's weight on another planet. I'm new to C++ and would like ideas.
Thanks :confused:
Printable View
I need to write a program that calculates a person's weight on another planet. I'm new to C++ and would like ideas.
Thanks :confused:
Show us some code. If you dont know C++ read some tutorials, at www.cprogramming.com for example.
Mass * Gravity = Weight
Now go do your own homework, lazyass.
here's how you do it:
maybe if you give a more descriptive title and more effort, I'll do the same ;)Code:#??????? <????????>
??? main()
{
???? Mass;
????? Gravity;
????? Weight;
????<<"Enter the Mass: "?
?????mass?
????<<"Enter the Gravity: "?
?????gravity?
????????????????????
????<<"Your Weight would be: ???Weight;
?????? 0;
}