subject

Var amount = 100;
var discount = 0;
if(amount> 50)
discount = 0.1;
else if( amount > 75)
discount =0.15;
else if( amount> 100)
discount =0.2;
else
discount =0.25;
what is the value of discount?
0
0.1
0.15
0.2

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:50
Explain why it is reasonable to assume that receiving 3 duplicate acks in tcp is an indication that the network is not currently congested.
Answers: 1
question
Computers and Technology, 22.06.2019 06:00
Write a program that uses a widgetviewer object to do the following: generate two random integers between 1 and 9 (inclusive). name one of them x, the other y. display them to the user using jlabel objects. create a jlabel object displaying the text "enter an operation number." create a jtextfield for the user's input. create a jbutton displaying the text "press here when you've entered your operation." use addandwait to add it to the widgetviewer object. when the user clicks the jbutton, evaluate operation in the following order to determine the one and only mathematical operation to perform on x and y. use a jlabel to display the result. if operation is between 1 and 10 inclusive, add x and y. if operation is evenly divisible by 4, subtract y from x. if operation is evenly divisible by 5, use integer division to divide y into x. if operation is an even number, use floating point division to divide y into x. if none of the other tests on operation apply, multiply x and y. note: operation can be negative or zero.
Answers: 2
question
Computers and Technology, 22.06.2019 15:00
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
Which location-sharing service offers items for users as a gaming component and also allows them to collectively link their check-ins to publish a trip? a. whrrl b. buzzd c. foursquare (this option is wrong i already tried) d. gowalla for plato
Answers: 2
You know the right answer?
Var amount = 100;
var discount = 0;
if(amount> 50)
discount = 0.1;
els...
Questions
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Biology, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
History, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Biology, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
History, 14.09.2020 04:01
question
Biology, 14.09.2020 04:01
question
Mathematics, 14.09.2020 04:01
question
English, 14.09.2020 04:01
Questions on the website: 13722367