You are on page 1of 4

Seatwork 2- Prelim

COMPUTER PROGRAMMING 2 LEC

Alexandre Jedric Macalintal


Assignment

Program 1

This program is used in a conditional


statement wherein – while(i<100) and
while(j<=(i/j): if not (i%j) it will break.
Program 2

This program is used in a looping


statement wherein this “*” sign will
loop.
Program 3

This program is used in a looping


statement also but it only print 2
“skip” because of range(2).

You might also like