[ create a new paste ] login | about

Link: http://codepad.org/kEGTVUvL    [ raw code | output | fork ]

C, pasted on May 19:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>
 
int main() {
 
    /**
     * Escreva a sua solução aqui
     * Code your solution here
     * Escriba su solución aquí
     */
 int a;
 int b;
 int x;
    printf("valor 1:");
    scanf("%d",a);
    printf("valor 2:");
    scanf("%d",b);
    x = a + b;
    printf("Resultado: %d",x);
    return 0;
}


Output:
1
valor 1:valor 2:Resultado: -287311288


Create a new paste based on this one


Comments: