Write a program to print odd numbers from 10 to 20.
Answers
Answered by
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