Sunday, 5 December 2010

write a program using any unconditional statements.

write a program using any unconditional statements.
#include<stdio.h>
#include<conio.h>
Void main()
{
int i;
clrscr();
for(i=1;i<=4;i++)
{
   if(i= =2)
  {
    continue;
    printf(“%d”,i);
  }
   printf(“%d\n”,i);
}//end of for
getch();
}
/*
output
1
3
4
*/

unconditional statements

No comments:

Post a Comment