Computer Science, asked by suhas2666, 2 months ago

Write a basic program to compute 2*10/4

Answers

Answered by mahesijjh
2

In c language,I wrote this program.

#include<stdio.h>

#include<conio.h>

void main()

{

int a;

clrscr();

a=2*10/4;

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

getch();

}

Attachments:
Answered by harshamani2020
2

the program is written In python coding

Explanation:

print("The basic program to compute 2*10/4 ")

a=2

b=10

c=4

d=a*b/c

print ("the answer of the given expression is",d)

Attachments:
Similar questions