subject

How do I put this as a if-else statement in java? if firstNumber > secondNumber and firstNumber > thirdNumber:
largest = firstNumber
elif secondNumber > firstNumber and secondNumber > thirdNumber:
largest = secondNumber
else:
largest = thirdNumber

if firstNumber < secondNumber and firstNumber < thirdNumber:
smallest = firstNumber
elif secondNumber < firstNumber and secondNumber < thirdNumber:
smallest = secondNumber
else:
smallest = secondNumber

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
If you have a lien on your vehicle, you cannot apply for a duplicate copy of your vehicle’s certificate of title. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
Donna and her team of five have invented a new gadget for the science exhibition in their college. which intellectual property right will protect their invention?
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
You know the right answer?
How do I put this as a if-else statement in java? if firstNumber > secondNumber and firstNumber...
Questions
question
Chemistry, 13.10.2019 09:50
question
Mathematics, 13.10.2019 09:50