-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTest_Prep.java
46 lines (38 loc) · 942 Bytes
/
Test_Prep.java
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
42
43
44
45
46
/*
name: Jamie Johnson
Assignment: Lab #1
Problem:
*/
import java.util.Scanner;
public class Test_Prep
{
public static void main(String args[])
{
// int a = 85;
// int b = 30000;
// char c = 't';
// float z = 648.445f;
//
// System.out.printf("%5d%,10d%10d%-7d\n", a, b, b, b);
// System.out.printf("%f%7.1f", 9245.342, 123.552);
// System.out.printf("\nNEXIS = %8.1f", z);
// System.out.printf("%s", "Today");
//
// System.out.printf("\n");
// System.out.printf(" 85300 300 300\n");
// System.out.printf("9245.342123.5");
// System.out.printf("\nNEXIS = 648.4Today");
// Boolean pos = false;
// int amt = 300;
// if ( pos == true )
// amt = 250;
//
// System.out.println("amt is : " + amt );
// int x = 90;
// int y = 55;
// int ans = 10;
//
// if ( x == y)
// ans*=2;
}
}