To solve the question start with looking into the factors of 382.
That will tell you where the first paranthesis goes.
Help with Answer
Under discussion
Comments (6)
- Popular
- New
- Old
You must be signed in to leave a comment
Pranshu
28 August 2020, 13:09
Thanks man. I wasted my time 3 hours. You helped alot.
0
Sela
11 June 2020, 14:18
Alban's suggestion helps. first find the factors of a number 382. factor means numbers surrounding multiplication (*) operator. for the number of 382 there are only two i.e. 2 * 191. so you need to arrange the parentheses like this: 2 * ((191)). note that the first one and the last one in the whole printing statement belongs to System.out.println(). so it should be System.out.println(2 * ((191))); - three opening and three closing brackets in total.
+4
Gellert Varga
3 May 2020, 17:41
I'm sorry, i don't understand exactly what is your question.
Is this a question now or an advice?:)
0
Luke Chapman
30 May 2020, 11:13
He's giving a hint to those who are stuck
+2
Alban Pajova
3 June 2020, 05:34
I apologize, that is indeed advice on how to solve the task.
0
Alban Pajova
3 June 2020, 05:36
That is correct, thank you for clarifying.
+2