0% found this document useful (0 votes)
25 views

Student Name: Student ID: Lab Activity 3C.3

The document describes two lab activities. The first involves designing pseudocode and a flowchart for calculating parking charges where the first hour is $2 and subsequent hours are $1 each. The second activity involves writing pseudocode and a flowchart using a repetition structure to calculate the salaries of 5 employees based on their hours worked at $8 per hour minus a 10% KWSP deduction, and calculating the average salary.

Uploaded by

lokesh
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Student Name: Student ID: Lab Activity 3C.3

The document describes two lab activities. The first involves designing pseudocode and a flowchart for calculating parking charges where the first hour is $2 and subsequent hours are $1 each. The second activity involves writing pseudocode and a flowchart using a repetition structure to calculate the salaries of 5 employees based on their hours worked at $8 per hour minus a 10% KWSP deduction, and calculating the average salary.

Uploaded by

lokesh
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Student Name:

Student ID:

Lab Activity 3C.3

Activity Outcome: Design the pseudocode and flowchart for a given case study using problem solving tools.

Duration: 30 minutes

1. A car park has the following charges. The 1st hours cost RM2.00. The sub sequent hours cost RM1.00 per hour. Design
the algorithm for this problem and draw flowchart using problem solving tools.

2. Calculate the salary that employee get based on number of working. Rate of the payment is RM8.00 per hour but the
salary will be deducted with 10% KWSP. By using a repetition control structure, write pseudo code and design a
flowchart using problem solving tools to calculate the total salary of 5 employees and the average salary of the
employee.

You might also like