Commit | Line | Data |
---|---|---|
21c4e167 H |
1 | #include <stdio.h> |
2 | ||
3 | int main() { | |
4 | /*asm("jmp poly_cont\n\t" | |
5 | "incl %eax\n\t" "incl %ebx\n\t" "incl %ecx\n\t" "incl %edx\n\t" | |
6 | "decl %eax\n\t" "decl %ebx\n\t" "decl %ecx\n\t" "decl %edx\n\t" | |
7 | "poly_cont:\n\t"); //"@CABHKIJ" */ | |
8 | //asm(".rept 20 nop \n\t .endr"); | |
9 | puts("KALK\n"); | |
10 | ||
11 | float a, b; | |
12 | char op; | |
13 | char loop = 1; | |
14 | ||
15 | while(loop) { | |
16 | scanf("%f", &a); | |
17 | scanf("%c\n", &op); | |
18 | scanf("%f", &b); | |
19 | ||
20 | printf("%f %c %f = ?\n", a, op, b); | |
21 | ||
22 | } | |
23 | } |