Professional Documents
Culture Documents
Activity 4
Activity 4
Steps/ Procedures:
1. Do the following task for Information Sheet LO3-1. Use decision structure. (if,
if-else, switch, ?)
Task 1: Create a program that accept the cost of postage on a letter and compute
the tax according to the following scale: 50 pesos below a 5% tax added to the cost
of the mail, 51 pesos above a 7% is added to the cost of the mail and plus 10 pesos
service charge if the customer desires special delivery.
Task 2: Create a program that accept dates written in numerical form (month, day,
year) and output them as a complete form.
Enter month : 11
Enter day : 1
Enter year : 2020
The date is : November 1, 2020
Task 3: Create a program that computes and assesses the tuition fee of the student
in one semester. Based on the given mode of payment:
Task 4: Create a program that accepts an input grade in percentile form and output
its grade equivalent based on the given range of percentile and grade equivalent
table:
98-100 1.00,
95-97 1.25,
92-94 1.50,
89-91 1.75,
85-88 2.00,
82-84 2.25,
80-81 2.50,
77-79 2.75,
75-76 3.00,
other grades Out of Range
Enter grade : 85
The equivalent grade is : 2.00
Task 5: Create a program that accepts a richter scale and output its description.
The National Earthquake Information Center has the following criteria to determine
the earthquake’s damage. Here are the given richter scale criteriaand their
corresponding characterization The richter scale serves as the input data and the
characterization as output information:
Task 6: Write a program that examines the value of a variable called temperature.
Then display the following messages depending on the value assigned to the
temperature:
5. Send you document for activity 4 to my messenger account. The document should
be in doc, docx or pdf format.