Flag Mechanics> C++...
question mark

Give me any five programs to design using looping statement

Nitin Gupta , 14 Years ago
Grade 11
anser 2 Answers
gOlU g3n|[0]uS

Last Activity: 14 Years ago

q1) create using looping statement:     a a a a

                                                       a a a

                                                       a a

                                                       a

2)  1 2 3 4     3) 1 1 1 1    4) create clock contains hour, min, and sec. ur clock tell 

     1 2 3            2 2 2          time frm where the user enter.it will start frm user time

     1 2               3 3            and stop at 24:60:60.[LOOPING]

     1                  4

Sudheesh Singanamalla

Last Activity: 14 Years ago

try generating

1)

*****

****

***

**

*

2) Generate prime numbers upto a value n

suppose if n is 10 it should give out put as

prime numbers are 2,3,5,7

[hint : use nested loop]

 

3)Check if a number is prime or not ?

4)Generate all the characters along with their ASCII numbers

5)try out this

1/x + 1/x^2 + 1/x^3 + 1/x^4 ......................... +1/x^n

user input is 'n'

and u could also try out other Geometric and Arithmetic progressions

 

Provide a better Answer & Earn Cool Goodies

Enter text here...
star
LIVE ONLINE CLASSES

Prepraring for the competition made easy just by live online class.

tv

Full Live Access

material

Study Material

removal

Live Doubts Solving

assignment

Daily Class Assignments


Ask a Doubt

Get your questions answered by the expert for free

Enter text here...