Sum of two numbers in c programming

                       Easy learn C program in c language
Q.Write a program to find sum of two number ?.
Ans.  There are some steps to make a sum of two numbers is given below:-
  • first we declare the variable.
  • Give the message for user using  of printf(); function.
  • We take a input through the user so we used the scanf(); function.
  • We perform the addition operation in between given value by the user.
  • Now we print the final result of these operation.
     

Output is:-
                                     

If  you have any question then you ask in comment section.
                                     THANK YOU.
  

Comments

Post a Comment