direction

a. Your algorithm should be written both in pseudocode and flow chart.

b. You have to show each and necessary steps considered to solve each problem
2. Mrs. Biftu has been working in Ambo University Woliso Campus as Network Administrator for four years. Last year, Biftu received a 4% raise, which brought her current weekly pay to 9000 ETB. Biftu is scheduled to receive a 3% raise next week. She wants you to write an Algorithm that will display the amount of her new weekly pay.

a.

Pseudocode:
1. Initialize the current weekly pay (CWP) to 9000 ETB
2. Define the first raise percentage (FRP) as 4%
3. Define the second raise percentage (SRP) as 3%
4. Calculate the first raise amount (FRA) as CWP * (FRP/100)
5. Calculate the new pay after first raise (NP1) as CWP + FRA
6. Calculate the second raise amount (SRA) as NP1 * (SRP/100)
7. Calculate the new weekly pay (NWP) as NP1 + SRA
8. Display NWP

Flowchart:
(Start) --> Input CWP
--> Define FRP, SRP
--> FRA = CWP * (FRP/100)
--> NP1 = CWP + FRA
--> SRA = NP1 * (SRP/100)
--> NWP = NP1 + SRA
--> Display NWP
--> (End)

b.
1. Input the current weekly pay (CWP) which is 9000 ETB
2. Define the first raise percentage (FRP) as 4% and the second raise percentage (SRP) as 3%
3. Calculate the first raise amount (FRA) by multiplying CWP with FRP/100
4. Calculate the new pay after the first raise (NP1) by adding CWP and FRA
5. Calculate the second raise amount (SRA) by multiplying NP1 with SRP/100
6. Calculate the new weekly pay (NWP) by adding NP1 and SRA
7. Display the new weekly pay (NWP) to Mrs. Biftu.