Posts by N. Ghoul • 5 points
1 post
-
-2
votes1
answer62
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
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> int main() { int N1, N2, Q,…