rename aplus october 2013

This commit is contained in:
Xevion
2020-02-22 05:47:56 -06:00
parent 6f5d851b0a
commit 22ed622f05
103 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "CodeLens (Launch) - problem11",
"request": "launch",
"mainClass": "problem11"
},
{
"type": "java",
"name": "CodeLens (Launch) - problem9",
"request": "launch",
"mainClass": "problem9"
},
{
"type": "java",
"name": "Debug (Launch) - Current File",
"request": "launch",
"mainClass": "${file}"
}
]
}

View File

@@ -0,0 +1,3 @@
1
2
3

View File

Binary file not shown.

View File

@@ -0,0 +1,14 @@
import static java.lang.System.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class problem11 {
public static void main(String[] args) throws FileNotFoundException {
File input = new File("input.dat");
Scanner read = new Scanner(input);
while(read.hasNextInt())
out.println(read.nextInt() * 3);
read.close();
}
}