Question: In order to understand the problem please read the question below. The sample output is written in the question below. I really need help with
In order to understand the problem please read the question below. The sample output is written in the question below. I really need help with this homework assignment guys thanks!

(20 points) Write a program that asks the user for their birth year and favorite character. We assume the user's age to be the difference between current year (2021) and their birth year. Your program then computes in how many years user's age will be a perfect square number. (Perfect squares are squares of whole numbers, e.g., 4, 9,16 etc.) and how old the user is going to be then. Finally, your program prints 8. square cake for the user, containing the number of their favorite characters that is equal to their perfect square age. For this problem, you are not allowed to use any loops or if statements. An example output of your program run is given below: which year were you born? => 2008 What is your favorite character? => * Next time your age is a perfect square will be in 3 years You will be 16 then Here's your square birthday cake: **** **** **** ****
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
