Determine if the input age is qualified to vote or not.
Qualifying age is 18 & he should be a bonafide “Filipino”.
sourcecode:
#include<iostream> using namespace std; int main(void) cout<<“Please enter your age: \n”; if (age>=18 && age <=100 && c==”Filipino”) return 0; |
Recent Comments