Computer Science, asked by rajivbahety11, 8 months ago

in Q Basic programs take about 10 salaries of employee take out the average of employee salary​

Answers

Answered by Priyanshujhajharia5
1

Explanation:

Write a program to enter your name and print it .

CLS

Input 'Enter you name';n$

Print 'The name is';n$

End

2)Write a program to enter your name, city, country, age and print them.

CLS

Input " Enter the name ";N$

Input " Enter the city";C$

Input " Enter the country";CO$

Input " Enter the age";A

Print " The name is ";N$

Print " The city is ";C$

Print " The country is ";CO$

Print " The age is ";A

End

3)Write a program to find the area of rectangle.

Cls

Input " enter the length " ;l

Input " enter the breadth " ;b

let A = l*b

Print" the area of rectangle=" ;a

End

4)Write a program to find the area of the triangle.

Cls

Input " enter the base" ;b

Input " enter the height" ;h

let T = 1/2*b*h

Print" The area of triangle=" ;T

End

5)Write a program to find the area of the circle.

Cls

Input" Enter the radius " ;R

Let C=22/7*R^2

Print " The area of circle =" ;C

End

Similar questions