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, 9 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, 9 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

Write a program for swapping two numbers?
  • 0 answers
Write a program for swapping two numbers
  • 1 answers
What is alu
  • 1 answers
Define packages
  • 0 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