Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 12 lines (12 sloc) 0.298 kb
1 2 3 4 5 6 7 8 9 10 11 12
#include <stdio.h> /* header file */
int main (int argc, char const *argv[])
{
  int a,b,c;
  printf("\nPlease Enter A Number: ");
  scanf("%d", &a);
  printf(" Please Enter A Second Number: ");
  scanf("%d", &b);
  c=a+b;
  printf("%d + %d = %d \n", a,b,c);
  return 0; //function returns 0 (ok)
}
Something went wrong with that request. Please try again.