Winter break holiday homework
1. Write C++ Programs
for the following questions.
i. Wap to enter a mXn matrix and find
the smallest and greatest element of it.
ii. Wap to enter a mXn matrix and make
all the elements above the diagonal blank.
iii. Wap to find the sum of n natural
numbers starting from a given number by creating a function named fsumz(). The function will receive two integers
s, n and print all numbers starting from s to n.
iv. Wap to enter 2 strings and compare
them. The program should return 0 if the two strings are equal otherwise
returns -1.
v. Wap to enter an array of 10
elements and swap the first and last element of it.
vi. Complete the program of ques no. 26
of page no 323 of chapter no. 11of sumita arora book.
2. Find
the output of the questions starting from the ques no. 11 to 16 of page no 322-
323 of chapter 11 of Sumita arora book.
Q1. 1 dout
ReplyDeleteI am genius ..that's it
ReplyDeleteIt's too easy for me