Find the Sum of two numbers using C



Find the Sum of two numbers using C, Sumit Kar ,Timus Rak





#include<stdio.h>


 void main()


 {


  int a;


  int b;


  int c;





  printf("Type your first value : ");


   scanf("%i",&a);


  printf("Type your second value : ");


   scanf("%i",&b);


  c =a+b;


   printf("Sum of the values =  %i",c);








 }


Comments

Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C