0

Write a C++ program that accepts a single integer value entered by the user. If the value entered is less than one, the program

8th Sep 2016, 2:55 PM
rehan altaf
rehan altaf - avatar
1 Réponse
+ 2
"Write a C++ program that accepts a single integer value entered by the user. If the value entered is less than one, the program " #include <iostream> using namespace std; int main() { int i; cin >> i; if (i < 1) { cout << "the program"; } return 0; }
8th Sep 2016, 3:04 PM
Zen
Zen - avatar