0
How come 66 in int sum2?
int sum1=50+10; int sum2=sum1+66; intsum3=sum2+sum2;
2 ответов
+ 7
It's just an example from the course to show how addition works in Java.
+ 1
sum1 = 60
sum2 = 60 + 66
sum3 = 126 + 126
output of sum3 = 252
int sum1=50+10; int sum2=sum1+66; intsum3=sum2+sum2;