A student caught cheating on a midterm exam. As a punishment, the teacher decided to teach discipline and made the student write "I will not cheat during exams again!" for 1,000 time on the board.
The student wrote:
Code:#include <stdio.h> #include <conio.h> void main(){ int x; clrscr(); for(x=1; x<=1000; x++){ printf("I will not cheat during exams again!"); } }