1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00

style: fix editorconfig linting

This commit is contained in:
Divlo 2021-06-25 11:27:23 +02:00
parent 8a41cb67f0
commit b098e04cdc
No known key found for this signature in database
GPG Key ID: 185ED2F15F104E52
3 changed files with 10 additions and 8 deletions

2
.gitignore vendored
View File

@ -8,6 +8,8 @@ npm-debug.log*
# production # production
build build
__pycache__ __pycache__
obj
bin
# testing # testing
coverage coverage

View File

@ -3,10 +3,10 @@ import java.util.Scanner;
public class Solution { public class Solution {
public static void main(String[] args) { public static void main(String[] args) {
String line; String line;
Scanner scanner = new Scanner(System.in); Scanner scanner = new Scanner(System.in);
while(scanner.hasNextLine()) { while(scanner.hasNextLine()) {
line = scanner.nextLine(); line = scanner.nextLine();
System.out.println("Hello, " + line + "!"); System.out.println("Hello, " + line + "!");
} }
} }
} }

View File

@ -3,10 +3,10 @@ import java.util.Scanner;
public class Solution { public class Solution {
public static void main(String[] args) { public static void main(String[] args) {
String line; String line;
Scanner scanner = new Scanner(System.in); Scanner scanner = new Scanner(System.in);
while(scanner.hasNextLine()) { while(scanner.hasNextLine()) {
line = scanner.nextLine(); line = scanner.nextLine();
System.out.println("Hello, " + line + "!"); System.out.println("Hello, " + line + "!");
} }
} }
} }