how the output is 6…¿¿‽
please find the output
help.....
javA...
Attachments:
rajiv1144:
Output is 6
Answers
Answered by
1
Output is 6 because in the condition if inside the loop it is written if a is equal to 6. This means print value of a when only it is 6 otherwise don't print.
Attachments:
Answered by
1
your answer mate----
output is 6 because the( if condition i.e if(a==6) is given it means that -
If value of a is equal to 6 than print the( +a) i.e 6 only
Hope it helps to you!!
Similar questions