Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For JavaScript assignment, thank you The Age Calculator Want to find out how old you'll be? Calculate itt Store your birth wear in a variable.

For JavaScript assignment, thank you image text in transcribed
The Age Calculator Want to find out how old you'll be? Calculate itt Store your birth wear in a variable. . Store a future year in a variable. Calculate your 2 possible ages for that year based on the stored values. For example, if you were born in 1988, then in 2026 you'll be either 37 or 38, depending on what month it is in 2026 Output them to the screen like so: "I will be either NN or NN in YYy", substituting the values. or The Lifetime Supply Calculator Ever wonder how much a "lifetime supply" of your favorito snack is? Wonder no more! Store your current age into a variable. Store a maximum age into a variable. Store an estimated amount per day (as a number). Calculate how many you would eat total for the rest of your life. . Output the result to the screen like so: "You will need NN to last you until the ripo old age of X

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Draft a proposal for a risk assessment exercise.

Answered: 1 week ago