Professional Documents
Culture Documents
INDEX
S. No. Lab Exercise Date Page No. Remark
Lab exercise#1
Objective(s):
To be familiar with the structure of c
program and its syntax.
To learn program solving techniques using c.
Program:
Write a program to calculate and display the
volume of cuboid having its height as
h,width as w,depth as d:
Algorithm:
Start
Define variables:h(int),w(int),d(int),vol(int).
Assign values to the variables:
Calculate the volume as:vol=h*w*d
Display the volume
Stop
Flowchart: