commit d171cba8c8c061ac8decb33bbb826fca4535d7fc
parent 018f651db79848bd6536acca8b5db6afb79b1418
Author: Amit Dutta <amitdutta4255@gmail.com>
Date: Thu, 13 Nov 2025 22:06:08 +0530
update -13112025 _tuition-c/APC-PRAC-24 - _tuition-c/APC-PRAC-32 -showing the patterns properly
Diffstat:
10 files changed, 245 insertions(+), 11 deletions(-)
diff --git a/docs/index.html b/docs/index.html
@@ -5512,7 +5512,20 @@ int main()
</div>
</div>
<div id="code-tuition-c-APC-PRAC-024_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-024.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ 1
+ 2 1
+ 3 2 1
+ 4 3 2 1
+ 5 4 3 2 1
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202501.c (LAB), APC-PRAC-024.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5543,7 +5556,20 @@ int main() {
</div>
</div>
<div id="code-tuition-c-APC-PRAC-025_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-025.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ 5 4 3 2 1
+ 5 4 3 2
+ 5 4 3
+ 5 4
+ 5
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202502.c (LAB), APC-PRAC-025.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5574,7 +5600,20 @@ int main() {
</div>
</div>
<div id="code-tuition-c-APC-PRAC-026_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-026.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ 5
+ 5 4
+ 5 4 3
+ 5 4 3 2
+ 5 4 3 2 1
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202503.c (LAB), APC-PRAC-026.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5605,7 +5644,20 @@ int main() {
</div>
</div>
<div id="code-tuition-c-APC-PRAC-027_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-027.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ 1 2 3 4 5
+ 2 3 4 5
+ 3 4 5
+ 4 5
+ 5
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202504.c (LAB), APC-PRAC-027.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5636,7 +5688,20 @@ int main() {
</div>
</div>
<div id="code-tuition-c-APC-PRAC-028_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-028.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ 1
+ 2 3
+ 4 5 6
+ 7 8 9 10
+ 11 12 13 14 15
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202505.c (LAB), APC-PRAC-028.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5668,7 +5733,20 @@ int main() {
</div>
</div>
<div id="code-tuition-c-APC-PRAC-029_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-029.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ 1
+ 1 0
+ 1 0 1
+ 1 0 1 0
+ 1 0 1 0 1
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202506.c (LAB), APC-PRAC-029.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5700,7 +5778,20 @@ int main() {
</div>
</div>
<div id="code-tuition-c-APC-PRAC-030_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-030.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ #
+ @ @
+ # # #
+ @ @ @ @
+ # # # # #
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202507.c (LAB), APC-PRAC-030.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5732,7 +5823,20 @@ int main() {
</div>
</div>
<div id="code-tuition-c-APC-PRAC-031_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-031.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ 1 2 3 4 5
+ 6 7 8 9
+ 10 11 12
+ 13 14
+ 15
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202508.c (LAB), APC-PRAC-031.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5764,7 +5868,20 @@ int main() {
</div>
</div>
<div id="code-tuition-c-APC-PRAC-032_c" class="hidden" data-github-url="https://github.com/notamitgamer/bsc/blob/main/tuition-c/APC-PRAC-032.c">
- <pre><code class="language-c">/* Author = Amit Dutta, Date - 13th November, 2025 */
+ <pre><code class="language-c">/*
+Pattern:
+ A
+ B B
+ C C C
+ D D D D
+ E E E E E
+*/
+/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202509.c (LAB), APC-PRAC-032.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -5773,7 +5890,7 @@ int main() {
scanf("%d", &n);
for(i = 1; i <= n; i++) {
for(j = 1; j <= i; j++) {
- printf("%c", temp);
+ printf("%c\t", temp);
}
temp++;
printf("\n");
diff --git a/tuition-c/APC-PRAC-024.c b/tuition-c/APC-PRAC-024.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ 1
+ 2 1
+ 3 2 1
+ 4 3 2 1
+ 5 4 3 2 1
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202501.c (LAB), APC-PRAC-024.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
diff --git a/tuition-c/APC-PRAC-025.c b/tuition-c/APC-PRAC-025.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ 5 4 3 2 1
+ 5 4 3 2
+ 5 4 3
+ 5 4
+ 5
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202502.c (LAB), APC-PRAC-025.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
diff --git a/tuition-c/APC-PRAC-026.c b/tuition-c/APC-PRAC-026.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ 5
+ 5 4
+ 5 4 3
+ 5 4 3 2
+ 5 4 3 2 1
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202503.c (LAB), APC-PRAC-026.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
diff --git a/tuition-c/APC-PRAC-027.c b/tuition-c/APC-PRAC-027.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ 1 2 3 4 5
+ 2 3 4 5
+ 3 4 5
+ 4 5
+ 5
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202504.c (LAB), APC-PRAC-027.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
diff --git a/tuition-c/APC-PRAC-028.c b/tuition-c/APC-PRAC-028.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ 1
+ 2 3
+ 4 5 6
+ 7 8 9 10
+ 11 12 13 14 15
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202505.c (LAB), APC-PRAC-028.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
diff --git a/tuition-c/APC-PRAC-029.c b/tuition-c/APC-PRAC-029.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ 1
+ 1 0
+ 1 0 1
+ 1 0 1 0
+ 1 0 1 0 1
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202506.c (LAB), APC-PRAC-029.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
diff --git a/tuition-c/APC-PRAC-030.c b/tuition-c/APC-PRAC-030.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ #
+ @ @
+ # # #
+ @ @ @ @
+ # # # # #
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202507.c (LAB), APC-PRAC-030.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
diff --git a/tuition-c/APC-PRAC-031.c b/tuition-c/APC-PRAC-031.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ 1 2 3 4 5
+ 6 7 8 9
+ 10 11 12
+ 13 14
+ 15
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202508.c (LAB), APC-PRAC-031.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
diff --git a/tuition-c/APC-PRAC-032.c b/tuition-c/APC-PRAC-032.c
@@ -1,4 +1,17 @@
+/*
+Pattern:
+ A
+ B B
+ C C C
+ D D D D
+ E E E E E
+*/
/* Author = Amit Dutta, Date - 13th November, 2025 */
+// File Name - amit1311202509.c (LAB), APC-PRAC-032.c (Local)
+
+// This code has not been compiled.
+// If you find any issues, please create a new issue on GitHub regarding them.
+// Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues
#include<stdio.h>
int main() {
@@ -7,7 +20,7 @@ int main() {
scanf("%d", &n);
for(i = 1; i <= n; i++) {
for(j = 1; j <= i; j++) {
- printf("%c", temp);
+ printf("%c\t", temp);
}
temp++;
printf("\n");