| #include<stdio.h>
#include<conio.h>
void main()
{
int x,y,a,m,s,d,r;
clrscr();
printf("\n\tEnter First Number : ");
scanf("%d",&x);
printf("\n\tEnter Second Number :
");
scanf("%d",&y);
printf("\n\t-----------------------");
printf("\n\tInput Number1 : %d",x);
printf("\n\tInput Number2 : %d",y);
printf("\n\t-----------------------");
a=x+y;
m=x*y;
s=x-y;
d=x/y;
r=x%y;
printf("\n\tArithmetic Operation");
printf("\n\tAddition : %d",a);
printf("\n\tMultiplication : %d",m);
printf("\n\tSubstraction : %d",s);
printf("\n\tDivision : %d",d);
printf("\n\tRemainder : %d",r);
printf("\n\t-----------------------");
getch();
}
|
Output |
Computer Science :: 11th/12th, Computer Engineering :: Degree/Diploma, Coding Concept ( C, C++ & JAVA Programming, JDBC Concept, DBMS - SQL Concept, Data Structure, Communication & Network Concept.
ARITHMETIC OPERATION
Subscribe to:
Comments (Atom)
Programmingway@Eklavya Technosys!: IOT - Internet of Things
Programmingway@Eklavya Technosys!: IOT - Internet of Things : 1) What is an Internet? Answer: Internet is a global network of interconnect...
-
1) TCP/IP - Transmission Control Protocol/ Internet Protocol. 2) HTTPs - Hyper Text Transfer Protocol. 3) ICT - Information Comunication Te...
-
Marks Division HOE 30 Marks IT Application Report File 20 Marks Viva - Voce 10 Marks 1) Write an HTML code to generate a web p...
-
Programmingway@Eklavya Technosys!: New Year's 2025 | Happiness & Healthier's Life Sty... : भारत कई धर्मों का संगम है, हिंदू, मुस...
No comments:
Post a Comment