Question: #include #include using namespace std; int main ( ) { / / Add your code below double weight; double mgravity = 3 . 7 3
#include
#include
using namespace std;
int main
Add your code below
double weight;
double mgravity ;
double egravity ;
double mweight weight mgravity egravity;
cout "What is the weight of your item on Earth?
;
cin weight;
cout Your weight on Mars is mweight pounds:
;
#include
#include
using namespace std;
int main
Add your code below
double weight;
double mgravity ;
double egravity ;
double mweight weight mgravity egravity;
cout "What is the weight of your item on Earth?
;
cin weight;
cout Your weight on Mars is mweight pounds:
;
What is wrong with this code and why can I not run it on visual studios C
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
