How to convert pounds to stone
To convert pounds to stone
#include
main()
{
int k ,y,pounds = 5;
cout<<" Please enter the pounds to convert to stones : ";
cin>>pounds;
k=pounds/14;
y=pounds%14;
cout<<<">
cout<<" stones "<
}
Result :
No comments:
Post a Comment