Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <ctype.h>
- #include <string.h>
- #undef _toupper
- #include "cod.h"
- void tema1()
- {
- char c;
- c = getchar();
- if ( _verif(c) == 1)
- _toupper(c);
- putchar(c);
- }
- void prob2() {
- char a, op, b;
- int x, y;
- a = getchar();
- op = getchar();
- b = getchar();
- x = a - '0';
- y = b - '0';
- switch (op)
- {
- int rez;
- case '*':
- printf("%d",x * y);
- case '/':
- printf("%d",x / y);
- case '+':
- printf("%d",x + y);
- case '-':
- printf("%d",x - y);
- case '%':
- printf("%d",x % y);
- default:
- break;
- }
- }
- void prob3()
- {
- }
- int main()
- {
- prob3();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement