429,067 Members | 1,849 Online
Need help? Post your question and get tips & solutions from a community of 429,067 IT Pros & Developers. It's quick & easy.

# program that read weight in pounds & ounces & will output the equivalent in kg and g?

 P: 1 Expand|Select|Wrap|Line Numbers #include    using namespace std;   void input(int& pounds, int& ounces, int& kg, int& g); void calculating(int& pounds, int& ounces, int& kg, int& g); void output(int& pounds, int& ounces, int& kg, int& g);   int main()   {     int pounds;     int ounces;     int kg;     int g;     char repeat;       do     {     input(pounds, ounces, kg, g);     calculating(pounds, ounces, kg, g);     output(pounds, ounces, kg, g);       cout<<"Do you want to continue? (Y/N): " << endl;     cin >> repeat;     }       while(repeat == 'y' || repeat == 'Y');     return 0; }   void input(int& pounds, int& ounces, int& kg, int& g); {     do     {     cout << "Please enter pounds: ";     cin >> pounds;     if(pounds = 2.2046)  what next?? can you help me?? Sep 13 '10 #1