0
Cant find where the mistake is :/ . It doesnt print C :/
package javaapplication1 public class JavaApplication1 { static int A = 1 ; static int C ; public static void main(String[] args) { while (A <=100) { System.out.println("A = " +A++); C = A System.out.println("C= " +C } } }
2 Respostas
+ 1
You're missing a closing ); at the end of the print statement
And a missing ; at the end of C=A
0
Thanks a lot :)