Computer Science, asked by rafiaghazala79, 3 months ago

convert the given loop into while loop and while loop into for loop
(a) item=40
while item>0,if item ==25: break
item -=3
(b) sum =1
for a in range (4,90,7)
sum=sum + a
print (sum)​

Answers

Answered by TheEmeraldGirl
1

Explanation:

The cursor FOR LOOP statement implicitly declares its loop index as a record variable of the row type that a specified cursor returns, and then opens a cursor. With each iteration, the cursor FOR LOOP statement fetches a row from the result set into the record.

Similar questions