Sample Programming Lab Report
Sample Programming Lab Report
Report
LAB Report # 1
Name:
Registration No:
Section:
Submitted To:
Submission Date:
Objective(s):
To be familiar with syntax and structure of C++ programming.
To learn problem solving techniques using C++
Title:
Write a Program to calculate
Problem Analysis:
Input Processing Output Necessary header
variables variables/calculations variables files/functions/macros
(int) iostream
(int) (int)
(int)
Algorithm:
1. Start
2. Define variables: h(int), w(int), d(int), vol(int)
3. Assign value to variables: h = 10, w=12, d=8
4. Calculate the volume as: vol = h*w*d
5. Dishhhhhhplay the volume (vol)
6. Stop
Flowchart:
Code: