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

source code for padovan string

how can I write a c++ program that generate all evn numbers less than 1000?

I need a project on car rental system using c programming only of college level


Exceptions. Your SVector class should throw four exceptions: 3.1. If the constructor size is invalid, then it will just allow the implicit STL bad_alloc exception to pass up to mai

# include stdio.h> # include conio.h> # include math.h>   void main () { int a=1,sqr=0,cube=0; clrscr (); while (a { sqr=pow(a,2); cube=pow(a,3);

What are header files? What are their uses? - Header files are also known as library files. - They carry two significant things: definitions and prototypes of functions bein


A: Here are a few of the many instance of operator overloading: myString + yourString may concatenate two std::string objects myDate++ may increment a Date object a * b may m