English, asked by MrX42, 10 months ago

write a program in c Input any two numbers and display division of these numbers.​

Answers

Answered by brainly7944
0

\huge{\bold{\green{\underline{Answer:-}}}}

This is modern C language, and the language in figure is also C language but it is old.

#include<studio.h>

#include<conio.h>

int main()

clrscr();

{

int a;

int b;

printf("enter the first number:");

scanf("%d",&a);

printf("enter the second number:");

scanf("%d",&b);

int c = a/b

printf ("Result: %d",c);

getch();

}

OUTPUT

Enter the first number:28

Enter the second number:4

Result:7

Attachments:
Answered by Anonymous
0

Answer -

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,div;

clrscr();

printf("enter any two numbers");

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

div = a/b;

printf("Division=%d",div);

getch();

}

Similar questions