I want to make a program in c which produce an output that will allow the user to create or input a program or even a simple code of FOR LOOP and will will produce the output of it in the same screen.
sample of program that i would input on the black screen
for(i=0;i<5;i++ ){
printf("%d\n",n );
}
*/as soon as i'll finish that code and press enter it will output like this:
0
1
2
3
4
what would be the best thing that i could do to make this program correctly.
Thank you!
liezel
sample of program that i would input on the black screen
for(i=0;i<5;i++ ){
printf("%d\n",n );
}
*/as soon as i'll finish that code and press enter it will output like this:
0
1
2
3
4
what would be the best thing that i could do to make this program correctly.
Thank you!
liezel