Problem 1.  Create a Java which will require the user to do the following: 1. enter the name of the recipient 2. enter the region where the recipient resides 3. answer the question “4Ps recipient?” with Y or N 4. display the amount of amelioration to be received based on Table 1, also display the recipient name, region, wage rate, and if the recipient is 4Ps member or not.   Use Java programming

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Problem 1. 
Create a Java which will require the user to do the following:
1. enter the name of the recipient
2. enter the region where the recipient resides
3. answer the question “4Ps recipient?” with Y or N
4. display the amount of amelioration to be received based on Table 1, also display the
recipient name, region, wage rate, and if the recipient is 4Ps member or not.

 

Use Java programming 

Table 1 was derived from the following table based on the minimum wage of the schedule of
minimum wage rates:
Table 2. Schedule of SAP according to Minimum Wage Rate
Minimum wage
Non-4Ps
With 4Ps
Below Php 330
Php 5,000
Php 3,650
Php 330 – Php 359
Php 5,500
Php 4,150
Php 360 – Php 399
Php 6,000
Php 4,650
Php 400 – Php 429
Php 6,500
Php 5,150
Php 430 – Php 459
Php 7,000
Php 5,650
Php 460 – Php 499
Php 7,500
Php 6,150
Php 500 – up
Php 8,000
Php 6,650
Transcribed Image Text:Table 1 was derived from the following table based on the minimum wage of the schedule of minimum wage rates: Table 2. Schedule of SAP according to Minimum Wage Rate Minimum wage Non-4Ps With 4Ps Below Php 330 Php 5,000 Php 3,650 Php 330 – Php 359 Php 5,500 Php 4,150 Php 360 – Php 399 Php 6,000 Php 4,650 Php 400 – Php 429 Php 6,500 Php 5,150 Php 430 – Php 459 Php 7,000 Php 5,650 Php 460 – Php 499 Php 7,500 Php 6,150 Php 500 – up Php 8,000 Php 6,650
The Philippines was not spared by the COVID-19 pandemic. In March 2020, President Duterte
placed the entire Luzon island under Enhanced Community Quarantine (ECQ) to control the
spread of the dreaded coronavirus. This forced Filipino families to stay at home while the
government sourced funds for financial help for these families. This was done through the
Social Amelioration Program (SAP).
SAP is a cash emergency subsidy program (ESP) for 18 million Filipino families whose lives
were greatly affected by the ECQ. It was mandated by the Bayanihan To Heal As One-Act
which was signed into law last March 25, 2020.
Under SAP, each qualified family can receive at least Php5,000 up to Php8,000 per month for
two months for basic food, medicine, and toiletries. The amount varies depending on the
prevailing minimum wage rates and takes into account the other subsidy programs in cash or in-
kind under the DSWD.
Table 1. Schedule of SAP per Region
Subsidy amount in
pesos per month
(For Non-4Ps)
ESP given to
families with
members of 4Ps
Region
Daily minimum
wage in pesos
NCR
PHP 537.00
PHP 8,000.00
PHP 6,650.00
CAR
PHP 350.00
PHP 5,500.00
PHP 4,150.00
PHP 340.00
PHP 5,500.00
PHP 4,150.00
I3D
PHP 370.00
PHP 5,500.00
PHP 4,150.00
III
PHP 420.00
PHP 6,500.00
PHP 5,150.00
IV-A
PHP 400.00
PHP 6,500.00
PHP 5,150.00
IV-B
PHP 320.00
PHP 5,000.00
PHP 3,650.00
V
PHP 310.00
PHP 5,000.00
PHP 3,650.00
VI
PHP 395.00
PHP 6,000.00
PHP 4,650.00
VII
PHP 404.00
PHP 6,000.00
PHP 4,650.00
VIII
PHP 315.00
PHP 5,000.00
PHP 3,650.00
IX
PHP 316.00
PHP 5,000.00
PHP 3,650.00
PHP 365.00
PHP 6,000.00
PHP 4,650.00
XI
PHP 396.00
PHP 6,000.00
PHP 4,650.00
XII
PHP 326.00
PHP 5,000.00
PHP 3,650.00
CARAGA
PHP 320.00
PHP 5,000.00
PHP 3,650.00
BARMM
PHP 325.00
PHP 5,000.00
PHP 3,650.00
BARMM
PHP 325.00
PHP 5,000.00
PHP 3,650.00
Transcribed Image Text:The Philippines was not spared by the COVID-19 pandemic. In March 2020, President Duterte placed the entire Luzon island under Enhanced Community Quarantine (ECQ) to control the spread of the dreaded coronavirus. This forced Filipino families to stay at home while the government sourced funds for financial help for these families. This was done through the Social Amelioration Program (SAP). SAP is a cash emergency subsidy program (ESP) for 18 million Filipino families whose lives were greatly affected by the ECQ. It was mandated by the Bayanihan To Heal As One-Act which was signed into law last March 25, 2020. Under SAP, each qualified family can receive at least Php5,000 up to Php8,000 per month for two months for basic food, medicine, and toiletries. The amount varies depending on the prevailing minimum wage rates and takes into account the other subsidy programs in cash or in- kind under the DSWD. Table 1. Schedule of SAP per Region Subsidy amount in pesos per month (For Non-4Ps) ESP given to families with members of 4Ps Region Daily minimum wage in pesos NCR PHP 537.00 PHP 8,000.00 PHP 6,650.00 CAR PHP 350.00 PHP 5,500.00 PHP 4,150.00 PHP 340.00 PHP 5,500.00 PHP 4,150.00 I3D PHP 370.00 PHP 5,500.00 PHP 4,150.00 III PHP 420.00 PHP 6,500.00 PHP 5,150.00 IV-A PHP 400.00 PHP 6,500.00 PHP 5,150.00 IV-B PHP 320.00 PHP 5,000.00 PHP 3,650.00 V PHP 310.00 PHP 5,000.00 PHP 3,650.00 VI PHP 395.00 PHP 6,000.00 PHP 4,650.00 VII PHP 404.00 PHP 6,000.00 PHP 4,650.00 VIII PHP 315.00 PHP 5,000.00 PHP 3,650.00 IX PHP 316.00 PHP 5,000.00 PHP 3,650.00 PHP 365.00 PHP 6,000.00 PHP 4,650.00 XI PHP 396.00 PHP 6,000.00 PHP 4,650.00 XII PHP 326.00 PHP 5,000.00 PHP 3,650.00 CARAGA PHP 320.00 PHP 5,000.00 PHP 3,650.00 BARMM PHP 325.00 PHP 5,000.00 PHP 3,650.00 BARMM PHP 325.00 PHP 5,000.00 PHP 3,650.00
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY