Posts by Ermeson Oliveira • 1 point
1 post
-
-5
votes2
answers54
viewsQ: How do I if the user type a number other than 1 and 2 he asks you to terminate the program? n[1] for yes and [2] for no?
#include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main()…
casked Ermeson Oliveira 1