Friday, 25 May 2018
Wednesday, 25 April 2018
Monday, 12 February 2018
Wednesday, 31 January 2018
Saturday, 27 January 2018
Tuesday, 23 January 2018
Friday, 29 December 2017
Winter break holiday homework
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.
Subscribe to:
Posts (Atom)