Question: Show me the steps to solve Mr . Thomas is a very well - known mathematician, He went to an education fair where he noticed
Show me the steps to solve Mr Thomas is a very wellknown mathematician, He went to an education fair where he noticed a lot of brilliant students. So by seeing their talent, he has given them a problem to solve The problem was: num PP PN where P is an integer and will be in the format of XYZ where X should be considered as base and Y is considered as power and represents the number of digits to be considered as power For example, given an equation in the form of num to solve the equation, it should be calculated in the form of num where and marked as red will be ignored Can you help students with a program to solve the given problem. Input Format: The first line of input contains the integer N the total number of operands in the equation Each of the following N lines contains the integer P from the equation. Output Format: The first and only line of output must contain the value of num from the given equation, Constraints: iN N ii P Pi i N iii. num num Sample Input : Sample Output : Explanations: The number of operands in the equation, N: P
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
