Examples Input
8 4 5 Output
8 12 16 20 24 public static Scanner in = new Scanner(System.in); public static PrintStream out = System.out; public static void main(String[] args) { int c=in.nextInt(); int b=in.nextInt(); int x=in.nextInt(); int a[]; a= new int [x]; for (int i=0;i<a.length;i++){ a[x]= (int) (c+ b); System.out.print(a.length); } } And how to make it so that the initial value of the progression is equal to int c