Computer Science, asked by nikhil292, 1 year ago

writre a algorithm print odd number 1 to 100

Answers

Answered by aiban1
0
In q basic the answer is
For a = 1 to 100 step 2
Print a
Next a
Answered by kattyna
1
step 1 : start the program
step 2: declare variable n in integer
step 3: for (n=0;n%2!=0;n++)
step4: if (n==100)
step5: break the if loop
step6: print n
step7: end the program
Similar questions