SHOW:
|
|
- or go back to the newest paste.
| 1 | #include <stdio.h> | |
| 2 | ||
| 3 | int main() | |
| 4 | {
| |
| 5 | int a,b,c,d,e,f,x,y,z; | |
| 6 | printf("Input (Put two digits by using a space in every line) :\n");
| |
| 7 | scanf("%d %d", &a, &b);
| |
| 8 | c=a+b; | |
| 9 | scanf("%d %d", &d, &e);
| |
| 10 | f=d+e; | |
| 11 | scanf("%d %d", &x, &y);
| |
| 12 | z=x+y; | |
| 13 | - | {
|
| 13 | + | printf("Output\n");
|
| 14 | - | printf("Output\n");
|
| 14 | + | printf("%d\n%d\n%d\n",c,f,z);
|
| 15 | - | } |
| 15 | + | |
| 16 | - | {
|
| 16 | + |