Friday, 6 April 2018

Adding two Numbers


#include <stdio.h>
int main(void)
{
 int n, m;

 printf("Please enter two Numbers: "); //be sure to click space between the two numbers
 scanf("%i %i", &n, &m);

 printf("Adding both Numbers......\n");
 printf("Sum= %i\n", n+m);
 return 0;
}


No comments:

Post a Comment