Tuesday, January 8, 2019

C Program To Addition Of Three Numbers

Addition of three numbers:-
In this c program  we will see that how to add three integer numbers with the help of num1, num2 and num3 and add three int type variables.

   /*
      Program : Addition Of Three Numbers
      Filename : additionthree.c
      IDE Used To Developed : CodeBlocks
      Developed By : Pavito Golui
   */
  #include<stdio.h>
  int main()
   {
      int num1=30, num2=50, num3=10,add;
      add=num1+num2+num3;
       printf("Addition of %d , %d  and %d is %d",num1,num2, num3,add);
       return 0;
   }
 

Output :

   Addition of 30, 50 and 10 is 90



0 comments:

Welcome to you in All Coding Help