Someone
public text v1 · immutable
public class up8 {
public static void main(String[] args) {
System.out.print("ett tal som du vill öka 10 gg");
int tal = Keyboard.readInt();
final int storlek = 10;
int [] hastighet = new int[storlek];
System.out.print("ökning");
int ök = Keyboard.readInt();
for(int n = tal; n < storlek; n++);
hastighet[n] = ök*(n+1);
System.out.print( hastighet[n]);
}
}