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
Calculate the salary if the person work 8 hours/day and the salary/hour is RM5.20 - UML class diagaram -Class -Exception handling/assertion

Is it possible to pass an entire structure to functions? Yes, it's possible to pass an entire structure to a function in a call by method style. Some programmers prefer to decl

a) Implement a binomial tree class with a method that calculates the value of an option passed in to the class. The binomial tree should not rely on specific features of the differ

A: 1.      By using const protects you against programming errors which inadvertently alter data. 2.      By using const allows function to procedure const and non-const actu

Example for external storage class - computer programming? extern double sin (double); In a function prototype, for the sin() function its function definition ~ we can write

What is the difference among malloc/free and new/delete? A: Malloc/free do not know about destructors and constructors. New & delete create and destroy objects, whereas malloc &

i need a detailed c program to explain the parameters of bernoulli''s equation..


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

Declaration of Variables: Variables are declared as follows: int a; float b;   Assigning value to variables: int a = 100; Declaring and assigning is called ini