The purpose of this applied project is to develop algorithms for three involved tasks (from simple to advanced).

  • Your algorithm for each following task should begin with a Main() & END where all sub-modules will be launched from.

TASK 1 - STARTING FROM SIMPLE

Design an algorithm to first receive three numbers, then conduct the sum of three numbers (variable: result1), and do the multiplication of these three numbers (variable: result2), finally do the sum of the two results (result3). Print the two intermediate results and the final result. After having your algorithm, please produce a desk check with two sets of test data (10, 5, -3) and (1320, -260, 78).

Hint: If you feel like going for a high score on this task, you need to consider good cohesian and coupling.

TASK 2 - INTERMEDIATE

Design an algorithm to print odd numbers from 0 to n (n is required to be an input positive number), as well as print the square root of these numbers. You need to demonstrate the use of selection and/or repitition statement. Provide the defining diagram.

Hint: If you feel like going for a high score on this task, you need to consider good cohesion and coupling.

TASK 3 - ADVANCED

Design an algorithm which will ask the user for a day-month-year (e.g., 08 September 2021) and prompt them to type it into the keyboard (input day/month/year separately). It will keep asking the user for this information until it is valid. When a valid date-month-year is provided, it displays the full information and a message saying it was successful. You need to demonstrate the use of selection and repetition statement. Provide the defining diagram.

Hint: If you feel like going for a high score on this task, you need to consider good cohesion and coupling.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.