Computer Science, asked by yaahpalsingh08577, 10 months ago

write a program to print the series of 1, - 3, 5 - 7, 9

Answers

Answered by Anonymous
0

Answer:

#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;

Explanation:

plz give 10 thanks to my answer

Answered by livinglegendstrom
1

Answer:

Please refer to the attached file

Attachments:
Similar questions