0% found this document useful (0 votes)
2 views

Lab 2 solved

Uploaded by

abdul muqtadir
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Lab 2 solved

Uploaded by

abdul muqtadir
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

LAB REPORT # 2

CS-201
Introduction to Programming

Submitted by:
A/C Aliyan Tahir 22098029

Submitted to:

Asst. Prof. Dr SALAHUDDIN


1. Using a statement in C++ write a complete program that calculates
and displays the sum of two integers (int, short, long) by obtaining
the values from the user. Add comment to the code where
appropriate.

RESULTS
1. Using a statement in C++ write a complete program that calculates
and displays the difference of two real numbers (float, double) by
obtaining the values from the user. Add comment to the code
where appropriate.
2. Programing

RESULT

1. Using a statement in C++ write a complete program that calculates


and displays the division of two integers/real numbers by obtaining
the values from the user. Add comment to the code where
appropriate.
Programing
RESULTS

1. Using a statement in C++ write a complete program that


calculates and displays the remainder of two integers/real
numbers by obtaining the values from the user. Add comment to
the code where appropriate.
2. Programing

You might also like