write a program which loads (from keyboard)variables of four basic types
1.integer number(preferably short)
#include <iostream>
#include <string>
using namespace std;
int main() {
int integerNumber;
cout<<"Enter integer number: ";
cin>>integerNumber;
cout<<"Integer number: "<<integerNumber<<"\n";
cin>>integerNumber;
return 0;
}
Comments
Leave a comment