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
chubhunter [2.5K]
3 years ago
9

Write Java program to allow the user to input the amount of deposit, yearly interest rate (percentage), and income tax(percentag

e). Then the program will calculate the amount of interest that the person earns in the year. See the example output below: The amount of deposit: 10000 Yearly interest rate: 7.5%

Computers and Technology
1 answer:
Vedmedyk [2.9K]3 years ago
3 0

Answer:

import java.util.Scanner;

public class num12 {

   public static void main(String[] args) {

       Scanner scr = new Scanner(System.in);

       System.out.println("Enter a Deposit Amount");

       double amt = scr.nextDouble();

       System.out.println("Income tax in percentage");

       double incomeTaxRate = scr.nextDouble()/100;

       System.out.println("Yearly interest rate:");

       double rate = scr.nextDouble();

       double intRate = rate/100;

       double interest = (amt*intRate)-(amt*incomeTaxRate);

       System.out.println("The Interest on "+amt+" at "+rate+"% after one year is "+interest);

   }

}

Explanation:

Find the sample output attached

Java's Scanner class is used to prompt and receive values for deposit amount, income tax rate and interest rate

The yearly interest is calculate by interest = (amt*intRate)-(amt*incomeTaxRate);

You might be interested in
Where can page numbers appear? Check all that apply.
umka2103 [35]

Answer:

in the header in the footer

Hope it helps!!!

Explanation:

4 0
3 years ago
Jordan says she cant access files on the server any more. No other user has reported this problem and she can PING the server fr
kramer

Answer:

Lan cable was disconnected or unplugged from jordan's PC

Explanation:

According to the scenario, no user other than Jordan has reported the problem which means that there was no issue in the network or server.

As IP address ping of 127.0.0.1 was successful means that the configuration of the IP address was also correct and the DHCP server was working correctly.

After all assessment one of the main cause could be the disconnection of the LAN cable from Jordan's computer.

6 0
3 years ago
Acme Widgets currently uses a 1024-bit RSA encryption standard company wide. The company plans to convert from RSA to an ellipti
nadya68 [22]

Answer:

The answer is "Option A".

Explanation:

The elliptical curve cryptography system needs much shorter keys for cryptography, and it is very powerful because of the RSA cryptography method. It is also known as a key of 1024-bit, which is in comparison is equal to the 160-bit ECC key for cryptographic, that's why other options are not correct, which is defined as follows:

  • In option B,  It is higher the ECC key system, that's why it's wrong.
  • In option C, It is a part of the RSA system but its value doesn't match the ECC system, that's why it is wrong.  
  • In option D, It's valued is just double to the RSA system, that's why it is wrong.

6 0
3 years ago
Guys how do i add or insert a diagram for similarities on google docs.
Vikki [24]
Usually I go to the Photos and I find a photo that already had the diagram
7 0
3 years ago
What website or search engine that helps people find the web pages that they are looking for by tying in the subject they want?​
Effectus [21]

Amazon can be use to search

4 0
3 years ago
Other questions:
  • Casting is one of the oldest known manufacturing processes. <br> True or false
    6·2 answers
  • According to Mintzberg's classification of managerial roles, the role of a(n) ______ is to transmit information received from ou
    7·1 answer
  • Which is the correct description of the first act in a classical game story structure?
    14·1 answer
  • What commands would return all the rows and columns in the ProductCategory table?
    7·1 answer
  • Fifty part-time students were asked how many courses they were taking this term. The (incomplete) results are shown below. Need
    6·1 answer
  • Benefits of computer in bank​
    5·1 answer
  • The
    6·1 answer
  • Three reasons Why we connect speakers to computers
    15·2 answers
  • A data analyst is using the Color tool in Tableau to apply a color scheme to a data visualization. They want the visualization t
    13·1 answer
  • Who do we make games for?(single term)
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!