Computer Science, asked by sanskarnova, 1 year ago

Can you increase or decrease the loop variable number by a value other than 1? If yes, decrease the variable number by 1

Answers

Answered by nabiausaaf
5

yes of course,

like :

for(int i=0; i<=x; i+2) // This i+2 can be replaced by any no you want.

{



}

Similar questions