Miscellany
public text v1 · immutable#include <stdio.h>
main()
{
int input,x;
for (x = 0; x < 0 ; x = x + 1 );
printf ("Please enter a number:");
scanf("%d", &input);
switch (input)
{
case 1 :
printf ("You entered a one");
break;
case 2 :
printf("GoodBye\n");
printf ("That's all folk\n");
break;
case 3 :
printf("You have prompted %d times",x);
break;
case 4 :
printf("Exiting");
break;
}
}