3.Do the planning and write algorithm to solve for following problem.



There are 15 pupils in the Introduction to Programming I module. The age of every student is entered in years and months. Convert the age into months to calculate the average age. Display the answer (average age) in years and months on screen.



4.Do the planning and write an algorithm for the following questions. Each problem contain a do loop. When planning your algorithm, decide which type of loop will be best suited to solving the particular problem (pre-test or post-test). If the problem contain a decision to be made, decide whether you’ll use an if statement or a select case statement. You can assume that all the input data for the following questions will be valid.



Peter decided to save money to buy a house. Enter this amount as well as the amount he will be able to save each month. He earns 0.8% interest per month while the amount is less than R70,000 and 0,7% interest per month if the amount is equal to or more that R70,000. The interest is added to the total amount. Calculate how many months he will have to save before he has reached his goal. Display the final amount and the number of months.

2 answers

Peter decided to save money to buy a house. Enter this amount as well as the amount he will be able to save each month. He earns 0.8% interest per month while the amount is less than R70,000 and 0,7% interest per month if the amount is equal to or more that R70,000. The interest is added to the total amount. Calculate how many months he will have to save before he has reached his goal. Display the final amount and the number of months.
Score >=90, 80-89,70-79,60-69,50-59,>=50 Grade A+, A, B, C, D, F write an algorthn
Similar Questions
  1. Do the planning and write algorithm to solve for following problem.There are 15 pupils in the Introduction to Programming I
    1. answers icon 0 answers
  2. Do the planning and write an algorithmfor the following questions. Each problem contain a do loop. When planning your algorithm,
    1. answers icon 0 answers
    1. answers icon 2 answers
  3. How can I write the algorithm in pseudocode to solve this problem:There is 15 pupils in the introduction to programming 1
    1. answers icon 2 answers
more similar questions