Someone please help with this question. I have tried countless different patterns to try and output 382 but I have yet to succeed. I understand PEMDAS and the order of operations but I would really like to move one and continue learning. Could someone please help and explain.
I appreciate any comments / help / advice given. Thank you!
package com.codegym.task.task03.task0306;
/*
Parenthetical brainteaser
*/
public class Solution {
public static void main(String[] args) {
System.out.println(2 * ((3 + 4 * 5 + 6)) * 7);
//(a*(b+c*(d+e*f)))
}
}