Best collection of C programs
Showing posts with label
WAP TO FIND IF NUMBER=10 THEN GOOD ELSE BAD
.
Show all posts
Showing posts with label
WAP TO FIND IF NUMBER=10 THEN GOOD ELSE BAD
.
Show all posts
Tuesday, January 4, 2011
GOOD ELSE BAD
WAP TO FIND IF NUMBER=10 THEN GOOD ELSE BAD
void main ()
{
int a;
clrscr ();
printf ("Enter any Number: ");
scanf ("%d",&a);
if (a==10)
goto g;
else
goto b;
g:
printf ("Good");
goto end;
b:
printf ("Bad");
goto end;
end:
getch ();
}
Older Posts
Home
Subscribe to:
Posts (Atom)