write a program to print the series 1,3,5,7,9
SwapnilRao:
c++
Answers
Answered by
8
11,13 because it is odd numbers
Answered by
8
#include <iostream>
#include <conio.h> //Header files to include the libraries
using namespace std;
int main()
{ int i;
for (i=1; i<=9; i+=2) //Loop that starts with 1 and goes upto 9.
cout<<i; //Odd no.s are printed
return 0;
}
Similar questions
English,
7 months ago
Math,
7 months ago
Biology,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago