You are on page 1of 3

Technological Institute of the Philippines

Quiapo, Manila

LEGASPI, MARIA AREN CPE002A


CH12FA2 MS. JULIA SUSA

ACTIVITY FOR LOOP

Create a program in C++ applying for loop statement based on the output below:

1. 200 170 140 110 80 50 20 BOOOOOM!!!

PROGRAM CODE

OUTPUT
2. 30*40*50*60*70*

PROGRAM CODE

OUTPUT
3. Using looping determine if the number is even or odd number and decrement by 3 output 30 to 3

PROGRAM CODE

OUTPUT

You might also like