Howdy, Looking for some help with a simple program. What do I need for a program to calculate the sum of 2 given numbers by the user.
[CODE=c]#include<stdio. h>
int main()
{
int a, b, sum;
printf("Input first integer : %s \n\n", a);
printf("Input Second integer :%s \n\n", b);
printf("The sum of the 2 values is : %sum");
sum = a + b;
return(0);
}
[/CODE]
[CODE=c]#include<stdio. h>
int main()
{
int a, b, sum;
printf("Input first integer : %s \n\n", a);
printf("Input Second integer :%s \n\n", b);
printf("The sum of the 2 values is : %sum");
sum = a + b;
return(0);
}
[/CODE]
Comment