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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user