0
How to give enter to generated code.
#include <iostream> #include <cstdlib> using namespace std; int main(){ for(int i=0;i<10;i++){ cout<<""&(1+rand()%9)&"\n"; } }
1 Réponse
+ 2
I think use....
getch() function.
#include <iostream> #include <cstdlib> using namespace std; int main(){ for(int i=0;i<10;i++){ cout<<""&(1+rand()%9)&"\n"; } }