Unlock access to all the studying documents.
View Full Document
Department of Electrical Engineering
Riphah College of Science and Technology
Riphah International University, Lahore
Program: B.Sc. Electrical engineering
Subject: CS-101 Computer Fundamentals Lab
Semester: I
Date: …………
Lab 6: While and do While loops in programming
OBJECTIVES:
i. Learn about while and do-while loops in C++
Name : ……………………………………………………………
SAP ID: ……………………………………………………………
Understanding and Ability to Conduct Experiment. (0-5)
Implementation and Results (0-5)
Data Presentation and conclusion(0-5)
Remarks (if any): ………………………………
Signature of faculty: …………………………………
Lab 6
WHILE/DO-WHILE LOOPS
PURPOSE
1. To understand the iterative statements and their use in C
2. To understand and practice
While loop
Do-while loop
PROCEDURE
1. In the lab students should complete both the “Examples” and “Lab Tasks”.
PRE-LAB READING ASSIGNMENTS