67 069
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #13781 in C++ for shalenee

Question #13781
(Conversions from kilograms to stones) A stone is British measurement of mass that equals 6.35 kilograms. Write a program that displays the conversion to stones for every kilogram value from 1 to 199 in a table.
Kilograms Pounds
1 2.2
3 6.6
...
197 433.4
199 437.8
Expert's answer
#include "iostream.h"
void main(){
cout<<"kilograms stones\n";
for (int i=1;i<200; i++)
& cout<<i<<"& quot;<<i/6.35<<"\n";
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions