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 } } }

2nd Feb 2017, 11:39 AM
Agamemnon Kyriazis
Agamemnon Kyriazis - avatar
2 ответов
+ 1
You're missing a closing ); at the end of the print statement And a missing ; at the end of C=A
2nd Feb 2017, 11:50 AM
Vincent
0
Thanks a lot :)
2nd Feb 2017, 12:00 PM
Agamemnon Kyriazis
Agamemnon Kyriazis - avatar
Актуальное сегодня
.
1 Votes
What?
0 Votes
HTML
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes
Create Agent
0 Votes