#include<iostream>
using namespace std;
int main()
{
const int rate = 12;
cout << "Enter the your height in inch:____\b\b\b\b";
int inch;
cin >> inch;
cout << "Your height is " << inch / rate << " feet and " << inch % rate << " inches." << endl;
return 0;
}
Exercise 3.1
最新推荐文章于 2023-07-15 21:04:43 发布