You are viewing a single comment's thread. Return to all comments →
const string numbers[]={"one","two","three","four","five","six","seven","eight", "nine"}; int n1,n2; cin>>n1>>n2; for(int i=n1;i<=n2;i++) { if(i>=1 && i<=9){ cout<9){ cout<<(i%2==0?"even":"odd"<
`
Seems like cookies are disabled on this browser, please enable them to open this website
For Loop
You are viewing a single comment's thread. Return to all comments →
const string numbers[]={"one","two","three","four","five","six","seven","eight", "nine"}; int n1,n2; cin>>n1>>n2; for(int i=n1;i<=n2;i++) { if(i>=1 && i<=9){ cout<9){ cout<<(i%2==0?"even":"odd"<
`