write a program in C language which prints first 10 odd numbers. please please answer it fast tomorrow is my examination.
Answers
Answered by
1
Answer:
#include <iostream>
using namespace std;
int main()
{
for(int i = 0; i < 10; i++){
cout << 2 * i + 1 << ' ';
}
return 0;
}
Explanation:
Hope You understand
Still Doubt??
DM me on instagram XOXO.SHARMA
Cheers!!
Similar questions
Science,
6 months ago
Math,
6 months ago
Computer Science,
6 months ago
English,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago