#include
#include
int main()
{
int x; clrscr();
for(x=1;x<=10;x++)
printf("\n %d",x);
getch();
}
//End of program.
hay nku..
ang simpleng code..
super assuming kasi ako
hindi nga naman magru-run yun kung walang headers
at variable declaration
clrscr(); is optional
kaso messy yung screen
whew
better luck next time! :)
No comments:
Post a Comment