From 313e55a0ac9e70cb4890901024832b07d87472fa Mon Sep 17 00:00:00 2001 From: Swasthik shetty <42874695+swaaz@users.noreply.github.com> Date: Mon, 12 Aug 2019 22:50:08 +0530 Subject: [PATCH 1/3] Update README.md --- C/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/C/README.md b/C/README.md index c01ca966..af75cf2a 100644 --- a/C/README.md +++ b/C/README.md @@ -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 to take the details of student and print the details | + From 27cd6e164270658a59eb0d7a3ec5173703969f24 Mon Sep 17 00:00:00 2001 From: Swasthik shetty <42874695+swaaz@users.noreply.github.com> Date: Mon, 12 Aug 2019 22:50:31 +0530 Subject: [PATCH 2/3] Update program.c --- C/program-34/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C/program-34/program.c b/C/program-34/program.c index 8d193871..4e0af2f0 100644 --- a/C/program-34/program.c +++ b/C/program-34/program.c @@ -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 From db68e88844b0840c52b72b40149429b87a34662f Mon Sep 17 00:00:00 2001 From: Swasthik shetty <42874695+swaaz@users.noreply.github.com> Date: Mon, 12 Aug 2019 22:51:37 +0530 Subject: [PATCH 3/3] Update README.md --- C/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/README.md b/C/README.md index af75cf2a..d837d3c1 100644 --- a/C/README.md +++ b/C/README.md @@ -36,5 +36,5 @@ | 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 to take the details of student and print the details | +| 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. |