Course Solutions Uncategorized (Solved) : 1 10 Points Write Program Determine Person S Magic Number Based Age Magic Number Product D Q31537402 . . . .

(Solved) : 1 10 Points Write Program Determine Person S Magic Number Based Age Magic Number Product D Q31537402 . . . .

 

1. [10 points] Write a program to determine a persons magic number based on her age. The magic number is the product of the digits of their age raised to the power of the sum of the digits of their age. So if the user is 23 then (2 x 3)+3 6 7776. Assume that the person?s age is a 2-digit number such as 23, 04, etc. For example, What is your age in years? 23 Your magic number is 7776 What is your age in years?4 Your magic number is 0.

How to do this in

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post