subject

Assuming that the user inputs a value of 25 for the price and a value of 10 for the discount rate in the following code snippet, what is the output? import java. util. scanner; public class determineprice { public static void main(string[] args){ scanner in = new scanner(system. in); system. out. print("enter the price: "); double price = in. nextdouble(); system. out. print("enter the discount rate: "); double discount = in. nextdouble(); system. out. println("the new price is " + (price - price * (discount / 100.; } }

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Rachel completed typing an official document with a word processing program. she wants to make sure that her document has no typographical errors. she also wants all headings to have the same font. which features in a word processing program should she use? rachel should use the feature in a word processing program to find typographical errors. she should apply to have uniform headings.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Two students are discussing the flow of electricity. student a says that voltage is a measure of the amount of electron flow in a circuit. student b says that power is the product of voltage and current. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
Answers: 1
You know the right answer?
Assuming that the user inputs a value of 25 for the price and a value of 10 for the discount rate in...
Questions
question
History, 16.12.2019 22:31
question
Chemistry, 16.12.2019 22:31
question
Spanish, 16.12.2019 22:31
Questions on the website: 13722359