getch...
#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main() {
int nmbr = 4;
do {
cout << "Anna numero 5";
cin >> nmbr;
} while(nmbr !=5);
return 0;
}
Kommentit
Lähetä kommentti