
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Computer Programming (Lab) (CS1121) Exercise 2 Instructor: Quratulain Siddiqui Note: create a new project and execute the following code, try to solve the errors yourself.
Q2. Write a program that takes a character as input and uses it for loop iteration. The loop must continue its iteration if the character entered satisfies the loop condition.
Q2: what will be the output of the following programs? Explain steps in comments.
b. void main () { Float X=8.6, Y=0.41,Z=0.08; Z=X*Y; } return 0; }