EXERCISE ALPRO KP E W2A
16 Agustus 2021
1. One social media influencer is hired by a company to promote their new product. He will get his
salary based on the number of followers he recently had. For each follower he will get Rp.500,-.
Determine the salary of this influencer based on the number of followers.
What are the inputs and outputs?
What are the variables required?
How would you name those variables?
Algoritma :
Step 1 : Start
Step 2 : input jumlahPengikut, gaji
Step 3 : hitung totalGaji = jumlahPengikut* gaji
Step 4 : display totalGaji
Step 5 : END
, 2. An organization need to raise some funding for their events. In this case, they offer to promote
any product in their social media for Rp. 250.000,- each. Help this organization to count how
many funding they succeed to gain through this event.
What are the inputs and outputs?
What are the variables required?
How would you name those variables?
Algoritma :
Step 1 : Start
Step 2 : input jumlahProduk, hargaProduk
Step 3 : hitung totalDana = jumlahProduk* hargaProduk
Step 4 : display totalDana
Step 5 : END
16 Agustus 2021
1. One social media influencer is hired by a company to promote their new product. He will get his
salary based on the number of followers he recently had. For each follower he will get Rp.500,-.
Determine the salary of this influencer based on the number of followers.
What are the inputs and outputs?
What are the variables required?
How would you name those variables?
Algoritma :
Step 1 : Start
Step 2 : input jumlahPengikut, gaji
Step 3 : hitung totalGaji = jumlahPengikut* gaji
Step 4 : display totalGaji
Step 5 : END
, 2. An organization need to raise some funding for their events. In this case, they offer to promote
any product in their social media for Rp. 250.000,- each. Help this organization to count how
many funding they succeed to gain through this event.
What are the inputs and outputs?
What are the variables required?
How would you name those variables?
Algoritma :
Step 1 : Start
Step 2 : input jumlahProduk, hargaProduk
Step 3 : hitung totalDana = jumlahProduk* hargaProduk
Step 4 : display totalDana
Step 5 : END