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"; } }

6th Nov 2016, 10:11 AM
Yuzar Aryadi
Yuzar Aryadi - avatar
1 Antwort
+ 2
I think use.... getch() function.
6th Nov 2016, 10:16 AM
Harish Nandoliya
Harish Nandoliya - avatar