Complete the following program skeleton so it asks for the user’s weight (in pounds) and displays the equivalent weight in kilograms.
#include
using namespace std;
int main()
{
double pounds, kilograms;
// Write a prompt to tell the user to enter his or her weight
// in pounds.
// Write code here that reads in the user's weight in pounds.
// The following line does the conversion.
kilograms = pounds / 2.2;
// Write code here that displays the user's weight in kilograms.
return 0;
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.