Write a program to get the height and the base of a triangle, compute and display the area of the triangle.

Assignment 5 – Design, Implement & Evaluate
Answer all questions. 10 points each. Under each question, insert a screenshot of your implementation with the evaluation.
Design, Implement and Evaluate the following programs:
Write a program that to get a number from the user and display the square of that number.
Write a program to get a weight in kilogram, convert, and display it in pounds. There are 2.2 pounds in a kilogram.
Write a program to get the height and the base of a triangle, compute and display the area of the triangle.
Write a program to get the length and the width of a rectangle, compute and display the perimeter of the rectangle.
Write a program to get the age of a person and determine whether the person is eligible to vote, according to the following criteria: any person of 16 of age or older is eligible to vote.
Write a program to get the age of a person and determine whether the person is a senior citizen or not according to the following criteria: A person is a citizen if s/he is 60 or older.
Write a program to get a percentage from a user and displays the grade letter corresponding to that percentage according to the following criteria:
Design: (4 points)

Implementation: (4 points)
Evaluation: (2 points)
Design: (4 points)

Implementation: (4 points)
Evaluation: (2 points)
Area =
Design: (4 points)

Implementation: (4 points)
Evaluation: (2 points)
Perimeter = 2 x (length + width).
Design: (4 points)

Implementation: (4 points)
Evaluation: (2 points)
Design: (4 points)

Implementation: (4 points)
Evaluation: (2 points)
Design: (4 points)

Implementation: (4 points)
Evaluation: (2 points)
Grade
Letter

>=90
A

>=80 and >90
B

>=70 and <80 C >=60 and <70 D <60 F Design: (4 points) Implementation: (4 points) Evaluation: (2 points)

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount