1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kap26 [50]
3 years ago
5

The Harrison Group Life Insurance company computes annual policy premiums based on the age the customer turns in the current cal

endar year. The premium is computed depending on the users age.
If the user is under the age of 50 – it is calculated by taking the decade of the customer’s age, adding 15 to it, and multiplying by 20. For example, a 34-year-old would pay $360, which is calculated by adding the decades (3) to 15, and then multiplying by 20.
If the user is over 50 – it is calculated by taking the decade of the customer’s age, adding 20 to it, and multiplying by 25. For example, a 54-year-old would pay $625, which is calculated by adding the decades (5) to 20, and then multiplying by 25.
Write an application that:

Declares the variables needed.
Prompts a user for their decade age (be clear in the instructions that you want only the 10s or 100s place).
Hits an IF statement that will call on a method named calculaterate and will pass it the decade, the addition number and the multiplier based on that IF statement.
The method should calculate the premium and return it to the main method.
The main will then display it out to the user.
The user will then be asked if they want to enter in another number. (While or Do While – your Choice) in persudo code please
Computers and Technology
1 answer:
valina [46]3 years ago
7 0

Answer:

yea that is correct hope this works

You might be interested in
How to connect on phpmyadmin?plss
Alex

Open your browser and go to localhost/PHPMyAdmin or click “Admin” in XAMPP UI. Now click Edit privileges and go to Change Admin password, type your password there and save it. Remember this password as it will be used to connect to your Database.

hope this helps!

5 0
2 years ago
Chất xơ có nhiều trong thực phẩm nào?
mezya [45]

Answer: rau củ quả đều có lượng chất xơ nhiều hơn so với các loại thực phẩn khác

Explanation:

3 0
2 years ago
If i cl/ear ch/at hist/ory on group/me on my comp.uter will it clear it on my phone
leonid [27]

Answer: It is likely that this can happen.

Explanation:

If you really want to go the extra mile to clear it all, I may recommend that you clear it off the phone as well. Hope this helps.

6 0
2 years ago
Read 2 more answers
Which two of the following are analog signals? A) whether a place of business is open or closed B) the volume of the radio C) th
ella [17]

Answer: B) The volume of the radio and D) the outdoor temperature.

Explanation:

The analog signal is the signal that continuously varying with the time and it continuous analog signal. Analog signal is basically used to carry information or data from one device to another device.

The volume of the radio is the example of the analog signal as it carry voice from one place to another. The analog signal  is the type of signal that use to measure the particular change in the physical phenomena like pressure, sound and temperature in the environment. So, outdoor temperature is also the example of analog signal.

And the other options (A) and (C) are incorrect because it is represent any physical change in the environment.  

8 0
3 years ago
Scientific Notation
Andrej [43]
To put a number in scientific notation, you must simplify it to become a number between 1-10 and multiply it by 10 up to the number of spaces the decimal was moved to simplify the number.

For example, to put the number .000000000006789 in scientific notation, you must move the decimal 12 times ( I think) to make the number 6.789 x -10up to the 12, be cause you have to move the decimal backwards.

To do another, 0.1 in scientific notation becomes 1 x 10up to the 1.

4 doesn't need to be in scientific notation, as it is already a number between 1-10. However, if you were to do it, it would become 4 x 10up to the 0.

For one more example, 78000000000000000 in scientific notation becomes 7.8 x 10up to the 15.

And so on for the rest. I hope this helps!
4 0
3 years ago
Other questions:
  • Xbrl taxonomy: is the document format used to produce web pages. is the final product (report. is a classification scheme. is a
    12·1 answer
  • What movie would be greatly improved if it was made into a musical?
    6·1 answer
  • Write an HTML document which contains two text fields, a button, and a div. The first text field should be labeled “Temperature”
    10·1 answer
  • What feature sets Macs apart from other operating systems?
    5·1 answer
  • I have been working on this python program for a hour now, and I am trying to figure out what I an doing wrong in the loop. I ha
    5·1 answer
  • Convert the given for loop to while loop and find the output of the program assuming the
    14·1 answer
  • I need so much help, can anyone please help me?
    15·1 answer
  • The Bradshaw family has $200,000 of total assets and $140,000 of liabilities. What is their net worth?
    15·1 answer
  • Which of the following could be a method for an object-oriented class called Student?
    8·1 answer
  • Is each of the following method identifiers (a) legal and conventional, (b) legal but unconventional, or (C) illegal?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!