-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainProgram.java
More file actions
18 lines (18 loc) · 806 Bytes
/
Copy pathMainProgram.java
File metadata and controls
18 lines (18 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class MainProgram {
public static void main(String[] args ) {
int todaysCount = 136;
todaysCount = 137;
long numberOfPeopleInConcert = 100000000L;
float piValue = (float)3.14;
double weight = 800.9999999;
char grade = 'A';
boolean isMale = true;
System.out.println("Today's count: " + todaysCount);
System.out.println("Number of people in concert: " + numberOfPeopleInConcert);
System.out.println("Value of pi: " + piValue);
System.out.println("Weight: " + weight);
System.out.println("Is Male? " + isMale);
System.out.println("Grade: " + grade);
System.out.println(todaysCount + " " + numberOfPeopleInConcert + " " + piValue + " " + weight + " " + grade + " " + isMale);
}
}