0% found this document useful (0 votes)
15 views1 page

CP Assignment 01

Uploaded by

lucifer0786c
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)
15 views1 page

CP Assignment 01

Uploaded by

lucifer0786c
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
You are on page 1/ 1

University of Management and Technology,

Lahore Campus
SST/CS Department
Course Name: Programmning Fundamentals Course Code: # Credit 3(2+1)
Hours:
Course Instructor/s: Ms. Samra Kanwal Program Name BS(CS)
Semester : 1st Batch : Fall 2024
Friday, November 29, 2024 at
Submission Maximum 10
23:59
Deadline: Marks:
Instructions:
 Understanding the problems is a part of the assignments.
 Your assignment should be submitted in PDF format.
 There is a ZERO tolerance policy for plagiarism. Assignments found with copy-pasted
material or copied from fellows will be marked as ZERO.
 Submit your assignments on your LMS portal within the given time frame. Emailed
assignments will not be accepted.

Question:
Write down the algorithm / Pseudocode of the following problems. Also, draw the
detailed Flowchart diagrams.

Problem 1:
 Write a program that stores the integers 62 and 99 in variables, and stores the sum of
these two in a variable named total. Display the total on the screen.
Problem 2:
 Write a program to multiply two numbers and then print the resultant number on
the screen.
Problem 3:
 Write a program to determine the square of a number and print the result on the screen.
Problem 4:
 Write a program to find the area of a circle and display the result on the screen. (In
the following two ways)
a) By Variable initialization
b) By taking the radius from the user

You might also like