+ 2
Convert
How to convert feet and inches in a c program
2 Antworten
+ 2
Type this code into the C++ playground
#include <iostream>
using namespace std;
int main (){
int foot, inches;
cin >> foot;
inches =foot * 12;
cout <<foot<<" feet, is equal to "<<inches <<" inches ";
return 0;
}