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

Assignment# 2 COAL

Uploaded by

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

Assignment# 2 COAL

Uploaded by

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

Assignment # 2 COAL

Question 1: Write a program to (a) display “?”, (b) read two decimal digit whose sum is less than 10,
(c) display them and their sum on the next line with appropriate message.

Sample execution:

?27
The sum of 2 and 7 is 9

Question 2: Write a program to display a 10*10 solid box of Asterisks.

Note: Attempt all questions & submit your assignment in Hand written form, Due-Date
is 02/12/24. Evaluation will be done on VIVA basis.

You might also like