0% found this document useful (0 votes)
38 views5 pages

Programming Fundamental 3

Uploaded by

wamiq0508
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views5 pages

Programming Fundamental 3

Uploaded by

wamiq0508
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PROGRAMMING FUNDAMENTAL

LAB Report 03

NAME : REGISTRATION NUMBER:

UZAIR AHMED FA23-BCE-048

For The Course


PROGRAMMING FUNDAMENTAL
DATE : MARCH 2024

SUBMITTED TO : Usman Khalid


EXERCISE #1

Write a program taking two values as inputs from the user and display the results forall the basic
arithmetic operations performed on them.

Addition, Subtraction, Multiplication, Division, Modulo

Compile And Run The Code


EXERCISE #2

Write a C++ program to convert a temperature in Celsius to Fahrenheit. Prompt the user to enter
the temperature in Celsius, then display the equivalent temperature in Fahrenheit.

Compile And Run The Code


EXERCISE #3

Write a C++ program to calculate the area of the circle. The area of the circle is ∏r². ∏ Value is
constant that is 3.14 but radius can change so this program gets the value of radius form user and
calculate the area on that value.

Compile And Run The Code


EXERCISE #4

Write a C++ program prompt the user to enter his/her age in years program will convert his age
in minutes and seconds.

Compile And Run The Code

You might also like