Answers for "c++ program to print odd numbers using loop"

C++
0

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;
}
Posted by: Guest on March-17-2022

Code answers related to "c++ program to print odd numbers using loop"

Browse Popular Code Answers by Language