+ 1

Design a program that determines the lowest, middle and highest number from the three given numbers of the user using only if e

Design a program that determines the lowest, middle and highest number from the three given numbers of the user using only if else statement Scoring Three Numbers Enter Three Numbers: 15, 5, 27 The sorted order is 15, 5, 27

18th Apr 2023, 4:56 AM
Renzo Bordeos
Renzo Bordeos - avatar
8 Réponses
+ 7
Renzo Bordeos , as far as i can see, the code you have shared does not match with requirements of your primary task decription. > please do a new try and link the code here.
18th Apr 2023, 9:44 AM
Lothar
Lothar - avatar
+ 6
Where is your attempt?
18th Apr 2023, 5:00 AM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 5
Renzo Bordeos so do you know how to code in Java? if yes then show your attempt so that we can rectify you else go and learn Java first
18th Apr 2023, 5:04 AM
Just Some Random Guy
Just Some Random Guy - avatar
+ 5
Renzo Bordeos How to share your attempt: 1. Edit your question description 2. Tap "+" button, then "Code" 3. Choose your code from Code Playground 4. Explain your difficulties This way, we can run and debug your code and test possible solutions
18th Apr 2023, 8:47 AM
Emerson Prado
Emerson Prado - avatar
+ 4
Renzo Bordeos please make a code on sololearn then share cause it's not complete
18th Apr 2023, 5:24 AM
Just Some Random Guy
Just Some Random Guy - avatar
+ 4
share the code in description
18th Apr 2023, 5:50 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 4
https://code.sololearn.com/W0RD0yyfZT6p/?ref=app This is not a question?! (Rule 6)
18th Apr 2023, 5:54 AM
Ugulberto Sánchez
Ugulberto Sánchez - avatar
+ 1
import java.util.Scanner; public class Payroll { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // Get employee details System.out.println(("\t")+ ("\t") + ("\t")+ "MANUEL LEO COMPANY"); System.out.println(("\t")+ "bLOCK 1 LOT 58 San Bernardino Drive Sta Maria Bulacan"); System.out.println("\t"+ "\t" + "Telephone Number: 7438497, 6428896"); System.out.print("\n" + "Enter the employee's name: "); String name = sc.nextLine(); System.out.print("Enter the employee's position: "); String position = sc.nextLine(); System.out.print("Enter your gender: "); String gender = sc.nextLine(); System.out.print("Enter number of days worked: "); int daysWorked = sc.nextInt(); System.out.print("Enter rate per hour: "); double ratePerHour = sc.nextDouble(); // Calculate gross pay double grossPay = daysWorked * 8 * ratePerHour; System.out
18th Apr 2023, 5:21 AM
Renzo Bordeos
Renzo Bordeos - avatar