Computer Science, asked by JUGO9803, 4 months ago

Write a program to print odd numbers from 10 to 20.

Answers

Answered by rals
3

Answer:

#include <iostream>

using namespace std;

int main() {

for (int number = 10; number < 20; number++) {

 if (!(number % 2 == 0)) cout << number << endl;

}

return 0;

}

Explanation:

Similar questions