Showing posts with label Odd numbers in the given range. Show all posts
Showing posts with label Odd numbers in the given range. Show all posts

Program to find Odd numbers in the given range using C++

#include<iostream.h>
#include<conio.h>
void main()
{
            int rem, Start_Num, End_Num;
            clrscr();
            cout <<" Please Enter the Start and End numbers:\n";

            cin >> Start_Num >> End_Num;
            cout <<" The odd numbers in the ranges are \n";

            while  (Start_Num <= End_Num){
                        rem = Start_Num % 2;
                        if (rem != 0)
                                    cout<<"\t" <<Start_Num;

                        Start_Num++;
            }
}

Kotdwar Job Fair 2026: 1,499 Vacancies, Eligibility, Companies, Salary & Venue | Uttarakhand job fair August 16th 2026

Kotdwar Job Fair 2026: 1,499 Vacancies, Eligibility, Companies, Salary & Venue Kotdwar Job Fair 2026 offers 1,499 vacancies across 13 co...