Question: Note:use python only to complete the program. Do any 5 program. Thank you 2. Develop a solution that takes the rice crop yield from a

 Note:use python only to complete the program. Do any 5 program.

Note:use python only to complete the program. Do any 5 program. Thank you

2. Develop a solution that takes the rice crop yield from a field for N years, and then prints the average yield over N years. Take N as input from user. Use a Loop. For this program, write PAC, Algorithm and flow chart. Demonstrate the calculation of average in each iteration (Iteration table). 3. A program takes initial balance in an account. Then it takes amounts of deposits made to the account, one by one. The input will stop when the deposit amount entered is negative. Ex: 2000, 3000, 1120, -20 (STOP). After that, the current balance is printed out. Note: the negative value entered at the end should not be used in the sum. For this program, write PAC, Algorithm and flow chart. Show the Iteration table. 4. Mr. Brown has given a test to his class. The class has N students. He would like to have the average score for the class as well as the highest and lowest scores. Develop a solution to calculate and print out these values. How to calculate highest and lowest scores: Initialize highest=0, lowest=0. After each score is taken as input, check whether the score is higher than highest, then replace the value in highest (if score>highest, highest=score); similarly, check whether the score is lower than the lowest, then replace the value in lowest (if score

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!