- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
6 Posted Topics
I just reconstructed my new code and am having trouble. When I try to compile it I keep getting an error message. At the end of the program something is wrong, but I can't figure it out. [code]#include <iostream> #include <cmath> #include <string> using namespace std; int main () { … | |
How would I create a simple loop so that the person using this program (user) can keep inputting weights until they want to quit. Also, I need trying to create a limit that the user can only enter in a certain range of numbers in the input. I want the … | |
I keep getting an error message when running my code at the end. I think it has something to do with line 26, but I'm not sure how to correct it. the error is sh: PAUSE: command not found My code is attached. Thanks for help in advance. [CODE]#include<iostream> #include<cmath> … | |
I want to set precision to 2 with the results. Does that mean that I have to put << setprecision (2) << after every weight on each planet or is there something easier I can do? [code]#include<iostream> #include<cmath> using namespace std; int CheckWeight(int weight, string Planet); int main() { int … | |
It's my first code. I put alot of effort into it. I just haven't been able to see if it actually works because tomorrow I go the the computer lab to test it. Positive and negative feedback is welcomed. Also, here is a link to the description of what the … | |
I'm not sure where to start with this code. I would greatly appreciate if someone could write the code up for me. Here are the details. The program should prompt the user to enter the weight of an object on Earth, between 0 and 1000 pounds, and the name of … |
The End.