#include
void main() { int a,b,c,d,e,sum,avg; cout<<"Enter the five numbers:"; cin>>a>>b>>c>>d>>e; cout<<"the numbers you have entered are: "; cout<
1- Write a Program that promotes the user to enter the length and width of a rectangle and print its area.
|
#include void main() { double length,width; cout<<"Enter the Length an the Width of the rectangle:"; cin>>length>>width; cout<<"the area of the rectangle is "< |
2- Write a Program that finds the area of a circle.
|
#include void main() { const float PI = 3.14; double r; cout<<"Enter the Radius of the Circle:"; cin>>r; cout<<"the area of the Circle is "< |
|