Professional Documents
Culture Documents
CP Lab Report # 5
CP Lab Report # 5
CP Lab Report # 5
Objective: To learn and properly use while and Do…while loops when writing a
C++ program.
LAB ASSESSMENT:
Data presentation
Experimental results
Conclusion
Date: Signature:
AIR UNIVERSITY
DEPARTMENT OF ELECTRICAL AND COMPUTER
ENGINEERING
LAB TITLE: While and Do…While Loops In C++ (LAB # 05)
LAB ASSESSMENT:
Data presentation
Experimental results
Conclusion
Date: Signature:
AIR UNIVERSITY
DEPARTMENT OF ELECTRICAL AND COMPUTER
ENGINEERING
LAB TITLE: While and Do…While Loops In C++ (LAB # 05)
LAB ASSESSMENT:
Data presentation
Experimental results
Conclusion
Date: Signature:
1. #include<iostream>
2. using namespace std; #%" &^!
3. int main(){//Code; return 0;}
Dev C++
":;\ ?><
Lab Objectives:
To learn about the properties of While and Do…While loops in C++..
To learn how to use these loops to achieve a task.
To learn the difference between while and do…while loops.
To perform the given lab tasks using these loops.