Computer Science, asked by varshagupta39, 9 months ago

write a program in C language which prints first 10 odd numbers. please please answer it fast tomorrow is my examination. ​

Answers

Answered by traplord
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