Question One
Write a menu driven program with functions to calculate the volume of the given shapes. The volume should be displayed using a separate function.
a) Sphere: (pass arguments by value)
=
b) Cylinder: (pass arguments by reference)
=
c) Cube: (pass arguments by value)
=
Question Two
The table shows the average rainfall and temperature during the past rain season stored in a text file called Weather.txt
Town
Temperature
Rainfall Chingola 23 27
Kitwe
24
27 Ndola 23 26
Kabwe
24
26 Lusaka 22 26
Kafue
24
16 Mazabuka 26 15
Monze
26
12 Choma 27 10
Livingstone
26
10
2
Write a program that reads this information from the text file, stores the values in parallel
arrays and prints the information stored in the arrays to the screen.
Answers
Answer:
Explanation:
I still remember the day as if it had happened yesterday. Principal Sharma called out 'And the best prize for English Elocution goes to..'. Trust me when I say I didn't expect that sentence to finish with my name. But when it did, I really didn't know what to do. After all, I was just six! I looked around at my friends who were all smiling and walked up eagerly to take the certificate. This experience has never left me. It's the first and people always remember their firsts. Because the first time you do something, you do it with so much curiosity and happiness not expecting what to expect in return. It is with this first that we start to base all our subsequent related memories about the topic is based on. That's why the firsts are always special. the first time you receive a prize, more so, because it's the first time someone is recognizing your capability. It's a milestone for life.
Read more on Brainly.in - https://brainly.in/question/3428769#readmore