Write a simple Ruby to check if someone is qualified to vote in an election or not. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a simple Ruby to check if someone is qualified to vote in an election or not.

Your program should require the birth year of an individual and use this year minus the birth year to get the age of a person. Use a simple IF Statement.

9th Feb 2018, 8:09 AM
Jumbo Daisy
2 Answers
+ 2
reserved
25th Jul 2018, 3:05 PM
Seniru
Seniru - avatar