0% found this document useful (0 votes)
7 views6 pages

C Program

The document presents a micro project report on creating a C program for generating a number triangle pattern, submitted by students of Electronics and Computer Engineering. It includes acknowledgments, the program code, execution results, and conclusions about the learning outcomes related to nested loops and pattern programming. The project was guided by Ms. V.B. Patil and is part of the diploma requirements for the academic year 2025-26.

Uploaded by

atharvpowar383
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views6 pages

C Program

The document presents a micro project report on creating a C program for generating a number triangle pattern, submitted by students of Electronics and Computer Engineering. It includes acknowledgments, the program code, execution results, and conclusions about the learning outcomes related to nested loops and pattern programming. The project was guided by Ms. V.B. Patil and is part of the diploma requirements for the academic year 2025-26.

Uploaded by

atharvpowar383
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

A

MICRO PROJECT REPORT

ON

“Prepare a C program for number triangle Pattern ”


In the partial fulfilment of

DIPLOMA OF ENGINEERING

in
Electronics and Computer Engineering

SUBMITTED BY

Mr. Gaurav Sanjay Chougale 25212290846


Mr. Atharv Vitthal Powar 25212290852
Ms. Arya Sachin Patil 25212290842

Under The Guidance Of


Ms. V.B. Patil

Shri. Balasaheb Mane Shikshan Prasarak Mandal, Ambap's,

ASHOKRAO MANE POLYTECHNIC, VATHAR


2025-2026
1
Certificate
This is to certify that the following diploma (Electronics and Computer Engineering)
Students have satisfactorily completed their micro-project entitled

“Prepare a C program for number triangle Pattern ”


Under guidance of
Ms. V.B. Patil
In Partial Fulfilment of Three-year Diploma courses in

“Electronics and Computer Engineering ”

As prescribed by Maharashtra State Board of Technology, Mumbai.


for the academic year 2025-26

Mr. Gaurav Sanjay Chougale 25212290846


Mr. Atharv Vitthal Powar 25212290852
Ms. Arya Sachin Patil 25212290842

Ms. V.B. Patil Mr. N.Y .Patil . Dr. Y.R. Gurav


[Project guide] [H.O.D ] [Principal]

2
ACKNOWLEDGEMENT

It gives us a profound sense of gratitude and deep regards to those personalities


without whose incessant efforts; this project would remain still a fiction. This work is the
result of the valuable insights and encouragement of these personalities.

We are highly indebted to our project guide Ms.V.B. Patil whose remarks and
suggestions, prior to and during the development of the micro project, has escorted us in
removing the in detailed ambiguities and inconsistencies. His constant attentions to the
project details and accessing its development, bestowed a proper shape and way to the final
completion of microproject.

We feel gratitude to record our cordial thanks to the H.O.D. of Applied Science and
Humanities Department, [Link] who has been a constant source of inspiration for us by
extending all the required sources at appropriate time. We also extend our sincere thanks to
all the teaching and non-teaching staff for their valuable support and assistance, which they
extended as and when required.

We would like to thank our Principal, Dr. Y. R. Gurav and the college for providing us
the platform to excel in life.

Finally, we would like to acknowledge each other for working together in a


synchronous manner with zeal and interest, all the time.

Mr. Gaurav Sanjay Chougale


Mr. Atharv Vitthal Powar
Ms. Arya Sachin Patil

3
Program code:
#include <stdio.h>

int main() {

int row,i,j;

printf("enter the total row you need in trangle\n");

scanf("%d",&row);

for(i=1;i<=row;i++){

for(j=1;j<=row-i;j++){

printf(" ");

for(j=1;j<=i;j++){

printf("%d ",j);

printf("\n");

return 0;

4
Output:

=== Code Execution Successful ===

5
Result:
 The C program was successfully compiled and executed without any errors.
 The required number triangle pattern was generated correctly based on the user input.
 The program dynamically adjusts the number of rows according to the entered value of n.
 Proper use of nested loops was demonstrated to control rows and columns efficiently.
 The output pattern displayed correct sequential numbers in each row.

Conclusion:
 The experiment helped in understanding nested loops clearly.
 We learned how to control rows and columns in pattern programming.
 Pattern programs improve logical thinking and coding skills.
 This concept is useful in solving complex programming problems.

******

You might also like