Program to print a series, C/C++ Programming

Write a program called Series that will print/display a series of numbers starting with 1 and ending with the last number that is less than 30. The series should include only odd numbers that are not divisible evenly by 5.

Sample Run:

1 3 7 9 11 13 17 19 21 23 27 29

 

Posted Date: 3/19/2013 5:17:49 AM | Location : United States







Related Discussions:- Program to print a series, Assignment Help, Ask Question on Program to print a series, Get Answer, Expert's Help, Program to print a series Discussions

Write discussion on Program to print a series
Your posts are moderated
Related Questions
Program of function overloading: class vector{                 private :                 int v[3];                   public:                 /*friend istream &

Bubble sort C program: Write a program to define a bubble sort. void main()  {   clrscr();   int a[100],ch,n;   cout   cin>>n;   for (int i=0;i

Explain Operator Overloading It is one type of Polymorphism, an significant feature of object-oriented programming .Polymorphism means one thing having many forms, i.e. here an

P o i n t er s to Members: In C a pointer is created  to locate  the address of another variable  for faster access. Consider the following example. int x, *p; p =

1)      Factorial (for this question just provide an answer for each part)  1.1  Debug the following program to calculate N! #include using namespace std; main()

New App Production company is seeking an organized and highly accomplished design team to prepare the first (and potentially more) of my companies' App concepts, intended completel

#Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new techn

By pressing ‘6’ (i.e. key’6’ one time) on the keypad, the mobile shows ‘m’ on display screen in write text message area

For your class to work properly, you'll need to define appropriate constructors, extract and insert operators, and of course arithmetic operators. (If you wanted to use it as a gen