workout
public class Main {
public static void main(String[] args) {
int a=7,b=6,c=2;
int s= a++/c-- * ++b%++c;
System.out.println(s);
}
}
Answers
Answered by
1
Answer:
1
Explanation:
The value of 1 would be 1.
Answered by
1
Answer:-
Given,
a=7, b=6,c=2;
s=a++/c--*++b%++c
=7/2*7%2
=3*7%2
=21%2
=1
As s will be printed, hence the output is 1.
Output:-
1
For verification,check out the attachment.
Attachments:
Similar questions