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
Damjibhai and Shamjibhai are two jeweler friends. They decide to play a simple game. The game comprises of removing the jewels for polishing, turn by turn. Once a jewel is removed

Data array A has data series from 1,000,000 to 1 with step size 1, which is in perfect decreasing order. Data array B has data series from 1 to 1,000,000, which is in random order.

color representation 0,1,2,3,4,5,6,7...

Part 1 Assignment:  develop a calculator in MASM. Text chapters covered:  1 through 4, 5.4, 5.5, 6.3, 7.4 You will develop a "calculator" algorithm in MASM using reverse-

write c program to do the following : -fill 2 dimensional array (square matrix array with size=4). -ask the user to enter any integer number and add this number to the diagonals -o

A: N delete p is a two-step procedure: it calls the destructor, and then releases the memory. The code developed for delete p is functionally similar to this (supposing p is of typ

Explain about the Floating point Constants in c language? A floating point constant is the number that contains either a fraction or decimal part. If an exponent is present its



Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b