It always says that n = 49, although I write different Integers,´. Can anybody explain why?
package de.codegym.task.task03.task0325;
import java.io.*;
/*
Finanzielle Erwartungen
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int n = reader.read();
System.out.println("Ich werde " + n + " Euro pro Stunde verdienen");
reader.close();
}
}