Hello. I am in need of help. I don't understand fully on how to use modules and conditional statements in these types of situations.
Honestly, I would really appreciate for the help.
Programming - Conditional Statements
-Develop the algorithmic model to computer instructions according to coding conventions.
-Create a computer program to solve basic programming problems with applications on structured programming language with the coding conventions.
-Apple Module/Modulo.
1. Determine a student's final grade and indicate whether it is passing or failing. The final grade is calculated as the average of four marks (between 0 and 100). Passing grade of 50.
2. The ABC manufacturing company plans to give a year-end bonus to each of its employees. The program will compute the bonus of an employee considering the following criteria: If the employee's monthly salary is less than 1,000, the bonus is 50% if the salary. IF the salary is greater than 1,000, the bonus is 1,000. Print out the name and corresponding bonus of the employee.
3. Find the largest among three different numbers entered by the user.
4. Determine whether the letter entered by the user is vowel or consonant.
5. Determine the quadrant, given a user-input angle. It mus read and validate the angle. Note: If the angle is exactly 0 degrees, it is not in a quadrant but lies on the positive x-axis; If the angle is exactly 90 degrees, it lies on the positive y-axis; If the angle is exactly 180 degress, it lies on the negative x-axis, and if the angle is exactly 270 degrees, it lies on the negative y-axis.
6. Calculates the change due a costumer by denomination; that is, how many 20s, 10s, 5s, 1s and 0.25s are need in change. The input is to be the purchase price and the size of the bill tendered by the customer (PHP1000, PHP500, PHP100, PHP50, and PHP20).
7. Compute the real roots of a quadratic equation ax2+bx+c=0. The roots can be calculated using the following formulas: x=-b±b2-4ac2a. It will prompt the user to enter the constants (a, b, c) and display roots based on the following rules:
-If both a and b are zero, there is no solution
-If a is zero, there is no solution
-If the discriminate (b2-4ac) is negative, there are no real roots
-For all other combinations, there are two roots
Thank You!