Skip to content

Instantly share code, notes, and snippets.

@schweigert
Created August 23, 2015 15:42
Show Gist options
  • Select an option

  • Save schweigert/b462db88c26b25faeda5 to your computer and use it in GitHub Desktop.

Select an option

Save schweigert/b462db88c26b25faeda5 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main (void){
// Variáveis!
int a, b, c;
// Leitura dos Dados!
scanf ("%d %d", &a, &b);
// Armazenamento dos valores (A+B) em C
c = a + b;
// Exibir o valor de C, e quebrar uma linha!
printf ("%d\n", c);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment