Posts by Pedro • 59 points
3 posts
-
1
votes3
answers4152
views -
1
votes2
answers414
viewsQ: Back to top in C
I created a calculator in C, with menu and everything, with the switch case when choosing a function from +, -, *, /, etc. You enter two values and they are executed according to the function. How…
-
3
votes3
answers492
viewsQ: Using an operator on a switch case
If I do, good wheel: #include <stdio.h> int op1; int main(){ scanf("%d", &op1); switch(op1) { case 1: puts("Hello World"); } } I wanted to make that by introducing a special character, for…