To add the two numbers we have to follow the given steps ;
STEP 1 include the header file stdio.h -> #include <stdio.h>
STEP 3 > Start the main method -> int main()
STEP 4> Declare the int variable x and y;
STEP 5> initialize the value in the variable x= 5; and y=6;
STEP 6 > print the output using printf() keyword
// ADD OF TWO INTEGERS GIVEN BY THE USER // #include<stdio.h> void main() {int number1,number2; printf("Enter two number to add \n"); scanf("%d %d", &number1,&number2); printf(" sum of the given numbers is =%d ", number1+number2 ); }
output
Enter two number to add
4
5
sum of the given numbers is =9
...Program finished with exit code 0