1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-23 14:55:08 +02:00

Fixed indentation in the java file

This commit is contained in:
Sean Nam
2017-03-12 15:26:04 -07:00
parent 13663f3726
commit 2c2c6e7b15

View File

@@ -56,9 +56,9 @@ public class LearnJava {
// Input/Output // Input/Output
/////////////////////////////////////// ///////////////////////////////////////
/* /*
* Ouput * Ouput
*/ */
// Use System.out.println() to print lines. // Use System.out.println() to print lines.
System.out.println("Hello World!"); System.out.println("Hello World!");
@@ -75,8 +75,8 @@ public class LearnJava {
System.out.printf("pi = %.5f", Math.PI); // => pi = 3.14159 System.out.printf("pi = %.5f", Math.PI); // => pi = 3.14159
/* /*
* Input * Input
*/ */
// use Scanner to read input // use Scanner to read input
// must import java.util.Scanner; // must import java.util.Scanner;