No products in the cart.

Write a programme to find 5 …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a programme to find 5 odd numbers
  • 2 answers

Anupma Kumari 6 years, 2 months ago

#include <iostream.h> Void main() { int i,n; cout<<"enter the range"; cin>>n; for(i=0;i<=n;i++) if(i%2==1) Cout<<"the odd no. are"<<i; }

Anupma Kumari 6 years, 2 months ago

Pehle ek loop chalao...and then check the condition whether the modulus of the no. Is equal to 1 or. Not....and then print it..
http://mycbseguide.com/examin8/

Related Questions

Case study based question
  • 0 answers
What is the machine leaning
  • 1 answers
Define pretty printing.
  • 2 answers
what is palindrone
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App