write a source code to display the given age is valid, eligible for vote, not eligible for vote or invalid?
if the age is greater than 0 then display valid age, age is less then 17 then display not eligible for vote, if age is greater than 17 then display eligible for vote otherwise invalid age.
Pemba
0
Newbie Poster
djjeavons
113
partis vestri scientia
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.