Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (12 sloc) 0.298 kB
#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)
}
Jump to Line
Something went wrong with that request. Please try again.