التاسك 9
تاسك النهاردة ياشباب حاجة خفيفة كدا مع مسئلة على اللوب (التكرار) برضه
========Coding========
1-
Write a program that reads in the radius
and length of a cylinder and computes the area and volume using the following
formulas:
area = radius * radius * 3.14
volume = area * length
Here is a sample run:
Enter the radius and length of a cylinder: 5.5 12
The area is 95.0331
The volume is 1140.4
=============
2-
Write a program that reads a number in feet, converts it
to meters, and displays the result.
One foot is 0.305 meter.
meter = feet * 0.305
Here is a sample run:
Enter a value for feet: 16.5
in meter equal 5.0325
=============
3-
write a program that calculates and print out the Average salary for 10 employees by using for loop
=============END=============
ليست هناك تعليقات:
إرسال تعليق