Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » BeginnersRSS Feeds

Simple program to perform arithmetic operation

Posted By: Emma Brown     Category: C Programming     Views: 5518

Write a simple program to perform arithmetic operation.

Code for Simple program to perform arithmetic operation in C Programming

#include<stdio.h>

main( )
{
  int a,b,c,d;
  printf("ENTER VALUES OF a,b, c, d");
  scanf("%d%d%d",&a,&b,&c);
   a  += b*c+d;
  printf("\n a = %d",a);
}
  
Share: 


Didn't find what you were looking for? Find more on Simple program to perform arithmetic operation Or get search suggestion and latest updates.

Emma Brown
Emma Brown author of Simple program to perform arithmetic operation is from London, United Kingdom.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!