Question

Problem: Write a program that is an age calculator. . Algorithm (Steps) . Variables (types and names) . Which variables are from user input? . Output
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let me know if you have any doubts.

Step1: Start
Step2: Declare current_year, age;
step3: initialize current_year=2017
Step4: Read birth_year from user
Step5: age= current_year = birth_year
step6: display age
step7: stop

Varaibles: age and current_year of type integer.

User input: User data of year i.e.birth_year

Output: age in years i.e. age

Add a comment
Know the answer?
Add Answer to:
Problem: Write a program that is an age calculator. . Algorithm (Steps) . Variables (types and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT