Public feed
#888576
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main()
{
double pounds=0;
while(pounds!=-1)
{
cout<<"Please enter the weight in Pounds(-1 to quit): ";
cin>>pounds;
if(pounds!=-1) //dont convert the quit!
cout<<"The weight in kilograms is:"<<pounds*0.45359237<<endl;
}
return 0;
}