Home Top Ad

Responsive Ads Here

Write a program Arithmatic of Two Number in C

Share:

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,c;

clrscr();

printf("Enter Two Num:");

scanf("%d %d",&a,&b);

c=a+b;

printf("The Addition is:%d\n",c);

c=a-b;

printf("The Substratcion is:%d\n",c);

c=a*b;

printf("The Multiplicationn is:%d\n",c);

c=a/b;

printf("The Division is:%d\n",c);

getch();

}



Post a Comment

No comments

Welcome to saveracom.blogspot.com

Data Science using Spreadsheet Software Assignment 3

Printing Workbooks select the cells you want to print and then set that area as the print area   Steps to set a print area: Select the cells...