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
zmey [24]
3 years ago
8

Write a program that calculates the amount of money the salesperson will earn from selling discount cards. java program

Computers and Technology
1 answer:
BaLLatris [955]3 years ago
4 0

Answer:

import java.util.Scanner; public class Salesman2 {

public static void main(String[] args) { // TODO Auto-generated method stub double CommissionRate;

double TotalSales, Commission;

Scanner Read = new Scanner (System.in); System.out.println("Please enter total sales "); TotalSales=Read.nextDouble();

if (TotalSales<500)

CommissionRate=0.0;

else if (TotalSales>=500 && TotalSales <1000) CommissionRate=0.05;

else

CommissionRate=0.08;}

Commission = CommissionRate * TotalSales;

System.out.println("The Commision is: "+ Commission); }

}

}

You might be interested in
Who need best OCR app . I will help you.​
myrzilka [38]

Answer:

i do

Explanation:

7 0
3 years ago
"identify three data types covered in the database programming with sql course."
ankoles [38]

I guess the correct answer is VARCHAR, DATE, CHAR

VARCHAR - Hοlds a variablе lеngth string (can cοntain lеttеrs, numbеrs, and spеcial charactеrs). Thе maximum sizе is spеcifiеd in parеnthеsis. Can stοrе up tο 255 charactеrs.

DATE - A datе. Fοrmat: YYYY-MM-DD

CHAR - Hοlds a fixеd lеngth string (can cοntain lеttеrs, numbеrs, and spеcial charactеrs). Thе fixеd sizе is spеcifiеd in parеnthеsis. Can stοrе up tο 255 charactеrs

6 0
3 years ago
Lighting matters less in landscapes than in other types of photographs.
Andru [333]

Answer:

A

Explanation:

that is the correct ans

8 0
3 years ago
Web crawlers or spiders collect information from Web pages in an automated or semi-automated way. Only the text of Web pages is
krek1111 [17]

Answer:

The correct answer to the following question will be "False".

Explanation:

  • Web crawlers make copies of google search recovery pages that index the streamed pages to allow subscribers to more effectively search. It collects details of Web pages in an automatically generated or semi-automated form.
  • The code of HTML and Hyperlink can be checked by crawlers. They could be used for scraping of the web.

Therefore, the given statement is false.

5 0
3 years ago
The process of data gathering is generally referred to as:
Snowcat [4.5K]
He answer is analytics.  The process of data gathering is generally referred to as analytics.   
7 0
3 years ago
Other questions:
  • Which of the following is the first step in a lockout-and-tag procedure? A. Place your lock on the breaker or switch. B. Sign yo
    12·2 answers
  • How to see if your computer has bluetooth?
    6·1 answer
  • Which of the following names in a program is equivalent to the name int?
    15·2 answers
  • viewRatings(string, int) Takes a username and a minimum rating value. It prints all the books that the user has rated with a val
    10·1 answer
  • What are the examples of debugging?​
    14·1 answer
  • What is a task that is not associated with loading existing data into a new ERP system.
    11·2 answers
  • The main difference between \f and \r is that \f produces a
    13·1 answer
  • Savings accounts _____.
    15·1 answer
  • Please help! Python programming, use the factorial operation to evaluate 4!. Answers are in picture please pick one, thank you.
    15·1 answer
  • Create a defined name for range b6:e6 using walkup as the range name
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!