Skip to content

Instantly share code, notes, and snippets.

@Mashpy
Created April 5, 2014 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mashpy/9990037 to your computer and use it in GitHub Desktop.
Save Mashpy/9990037 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a, b,c;
while(1==1){
printf("please input number a=");
scanf("%d",&a);
printf("please input number b=");
scanf("%d",&b);
c=a+b;
printf("Sum is = %d \n",c);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment