You are on page 1of 1

Introduction to Computing

ASSIGNMENT 2
BEE-2A

Assigned on: 7-05-2020 Total Marks: 20


Submission deadline: 11-05-2020 (at the start of lab)
Late submission: Absolutely NOT acceptable
Note: You have to make the C++ programs in visual studio, don’t forget to attach screen shots of C+ code and
output.
OBE Course Learning Objective
CLO 03: Design solution for computing problems which need repetitive control structures, using a
high level language.

Question # 1:
Write a while loop to calculate and display the squares of consecutive positive integers until the difference
between a square and the preceding one is greater than 50.
Question # 2:
Write an algorithm that reads two three-digit integers and then displays their product in the following
format:

You might also like