Search
 
SCRIPT & CODE EXAMPLE
 

CPP

c++ program to print odd numbers using loop

/*Q:Use Loops to print odd ids of employees from 1 to
19.*/
#include<iostream>
using namespace std;
int main()
{
int a;
for(a=1;a<=19;a+=2)
{
cout<<"Employee Id's= "<<a<<endl;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: Integer Moves codeforces solution 
Cpp :: print Colored text in C++ 
Cpp :: onoverlapbegin ue4 c++ 
Cpp :: adddynamic ue4 c++ 
Cpp :: string erase 
Cpp :: cpp ignore warning in line 
Cpp :: why use python 
Cpp :: how to declare a 2d vector stack 
Cpp :: string in c++ 
Cpp :: balanced parentheses 
Cpp :: c++ hash map key count 
Cpp :: c++ cin 
Cpp :: Ninja c++ 
Cpp :: std::future 
Cpp :: integer max value c++ 
Cpp :: c++ - 
Cpp :: time complexity of sorting algorithms 
Cpp :: string copy in cpp 
Cpp :: how to make a pointer point to a the last value in an array 
Cpp :: Valid Parentheses leetcode in c++ 
Cpp :: c++ power of two 
Cpp :: C++ Class Template Declaration 
Cpp :: is there garbage collection in c++ 
Cpp :: ifstream file (“code2.txt”); dev C++ 
Cpp :: c++ how to do a pointer char to take varols from keyboard 
Cpp :: remove item from layout 
Cpp :: how to make c++ read strlen 
Cpp :: what is c++ 
Cpp :: get range sum 
Cpp :: c++ program for inflation rate of two numbers 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =