-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHW_WarmUp.java
More file actions
41 lines (35 loc) · 941 Bytes
/
HW_WarmUp.java
File metadata and controls
41 lines (35 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import java.util.Scanner;
public class HW_WarmUp {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
//TODO 1
// System.out.println("Enter the number for TODO 1");
// int number = keyboard.nextInt();
//NOTE: you must fix this pseudocode before you can compile it
// if( the number is negative ) {
// System.out.println("The number is negative");
//TODO 2
// number = ?;
//TODO 3
// double average = ?;
//TODO 4 & TODO 5
// boolean answer = ?;
//TODO 6
// number = ?;
//TODO 7
// float grade = ?;
//TODO 8
// grade = ?;
//TODO 9
// double temperature = ?;
//TODO 10
// number = ?;
//TODO 11
// char letterGrade = ?;
//TODO 12: See below for the max function/method
//TODO 13
}
public static int max(int a, int b) {
return 0;
}
}