Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions C/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@
| Program-30 | Program to print the pattern |
| Program-31 | Program to take the details of student and print the details of students using array and to add details of new students into the existing array |
| Program-32 | Program to take the details of student and print the details |
| Program-33 | Program on Arithematic operation using pointers |
| Program-34 | Program to determine whether the matrix is a triangular matrix. First, you will be given N, which is the size of the matrix. Then you will be given N rows of integers, where each row consists of N integers separated by spaces. If the input matrix is triangular, then print yes. Otherwise, print no. |
| Program-35 | Program where you are given a sequence of non-negative integers terminated by -1. You have to output 1 if there are atleast 2 distinct elements in the sequence and 0 if the sequence consists of only 1 integer. Note that -1 is not part of the sequence. The sequence is not necessarily sorted. |

3 changes: 1 addition & 2 deletions C/program-34/program.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*In this assignment, you will be given an NxN matrix. You have to
determine whether the matrix is a triangular matrix.
/* To determine whether the matrix is a triangular matrix.
First, you will be given N, which is the size of the matrix.

Then you will be given N rows of integers, where each row consists of
Expand Down