thanks a lot for your help everyone.
I have the program working and error free.
here is my final code:
/* ========================================================================== */
Type: Posts; User: wiznant
thanks a lot for your help everyone.
I have the program working and error free.
here is my final code:
/* ========================================================================== */
here is the code that i have come up with. the only problem I am having is that when a user puts in a negative value for "humanWeight," i want the program to start over. Right now i have a switch...
sorry for being an idiot, but i have no idea how to do what you just said.
thanks,
Allan
thanks a lot guys, my problem is solved with the warnings, now I need to figure out how to start the user over they put in an invalid number for the astronaut's weight.
Sorry for the constant questions, but I also need help in writing a code that makes the user start over if they put a number that is less than zero in for the astronaut's weight.
Thanks,
Allan
Thank you for the quick reply, I made the changes that you suggested and my compiler, (microsoft visual C++), still states that there is a warning for conversion from double to int.
please let me...
oh I also need to make the program so that if you enter the astronaut's weight at the beginning and it is less than 0, then it will skip down to the end and prompt the user to start over.
Thanks
I apologize for asking such a newbie question, but this is my first class in programming in "C" and this program is unfortunately due today. I have no experience at all in doing this and cannot...