Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  This is a stupid program
Language: C/C++
Code:
#include <stdio.h>

int main(void) {
     char scelta;
     for(;;)
{ printf("S per continuare, N per finire. Vuoi continuare?");
  scanf("%c",&scelta);
  printf("n");
  if(scelta=='N') break;

}
printf ("Grazie e arrivederci!");
scelta=getchar();
return 0;
}
          
          
          
          
          
          
          
Comments: