Write a program that takes an integer input for variable n and prints the result of the expression:
((n + 1) * n + 2) * n + 3Write a program that takes an integer input for variable n and prints the result of the expression:
((n + 1) * n + 2) * n + 3Sample Input 1:
3Sample Output 1:
45Create a free account to access the full topic