cpp_primer_plus/ch02/02.cpp

12 lines
216 B
C++
Raw Normal View History

2022-08-24 01:47:13 +08:00
# include <iostream>
using namespace std;
int main(){
int long_value, ma_value;
cout << "Enter Long" << endl;
cin >> long_value;
ma_value = 220 * long_value;
cout << "Ma is " << ma_value << endl;
return 0;
}