Skip to content

Commit 14430e8

Browse files
committed
user stuff
1 parent c9d6e92 commit 14430e8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • app/src/main/java/io/github/project516/JavaTemperatureConverter

app/src/main/java/io/github/project516/JavaTemperatureConverter/Runtime.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ void run() {
1414
String input = scan.nextLine().toLowerCase();
1515

1616
if (input.equals("f")) {
17-
System.out.println("Enter Celcus");
17+
System.out.print("Enter Celcus: ");
1818
Double cel = scan.nextDouble();
19-
System.out.println(temp.cToF(cel));
19+
System.out.println("Farenghit: " + temp.cToF(cel));
2020
} else if (input.equals("c")) {
21-
System.out.println("Enter Farenghitght");
21+
System.out.print("Enter Farenghitght: ");
2222
Double far = scan.nextDouble();
23-
System.out.println(temp.fToC(far));
23+
System.out.println("Celcius: " + temp.fToC(far));
2424
} else {
2525
System.out.println("Invalid input!");
2626
}

0 commit comments

Comments
 (0)