Create an Algorithm, Flowchart and C++ program based on the requirements below:
Problem:
Output: 2 Sample Scenario
Even or Odd
Enter a number: 50
The number 50 is Even!
-------------------------------------
Even or Odd
Enter a number: 71
The number 71 is Odd!
Make a program that will compute the quiz,online laboratory,exam scores of the students. The program will input scores for quiz, online laboratory, exam rating. Display also the scores equivalent and if the scores of the students is greater than 75 then remarks will be passed otherwise failed loose and selection and repetion structures. Use these formula.
Enter your full name:
Enter your year and section
Input quiz: score and items
Quiz 1: score and item
11 11
Quiz 2: score and item
10 15
Quiz 3: score and item
10 20
Quiz 10% = 10
Input online laboratory activities: score and items
Lab 1: score and item
15 15
Lab 2: score and item
10 20
Lab 3: score and item
7 20
Lab 30%=30
Input exam: score and items
Exam 1: score and items
20 50
Exam 2: score and items
40 50
Exam 3: score and items
35 50
Exam 1: 20%
Exam 2: 20%
Exam 3: 20%
Final grade = quiz + online laboratory + exam 1 + exam 2 + exam 3
Write a function, triangleShape, that takes as parameters three numbers, each of which
represents the length of a side of the triangle. The function should return the shape of the triangle.
(Note: In a triangle, the sum of the lengths of any two sides is greater than the length of the third
side.)
Write a program that prompts the user to input the length of the sides of a triangle and outputs
the shape of the triangle.
Write a program in C++ that implements a simple arithmetic calculator using enumerator. Create
Operation enumerator with the elements (Add, Sub, Mul, Div). The function Calculate receives two
integer numbers and operation and returns the answer.
Write a program in C++ that creates an enumerator Fruit. Presents the list of fruits to the user and
displays the fruit name according to the number provided by the user.
the website, you get a 10% discount if you are a member. Additionally, you are also getting a discount of 5% on the item because its Father’s Day.
Write a function that takes as input the cost of the item that you are purchasing and a Boolean variable indicating whether you are a member (or not), applies the discounts appropriately, and returns the final discounted value of the item.
Note: The cost of the item need to be an integer
Create a class “Calculator” with two variables, a constructor with no parameter and two functions for add and multiply. Create a class TestApp with a main function and create object of Calculator class to call functions.
Create a class Calculator with two variables, a constructor with no parameter and
two functions for add and multiply. Add functionality for overloading sum and
multiply. Also call scientific functions using Math class (sine, cos, tan and power).
Create a class TestApp with a main function and create object of Calculator class to
call functions.
Create a class “Calculator” with two variables, a constructor with no parameter and
two functions for add and multiply. Create a class TestApp with a main function and
create object of Calculator class to call functions.