Sei sulla pagina 1di 10

BONAFIDE CERTIFICATE

This is to certify that the project entitled “PYRAMIDAL STRUCTURE OF NUMBERS”


submitted by
REKHA 19UECS0831
ROSHINII 19UECS0666
MAMATHA 19UECS0550
BHARGAVI 19UECS0588
MALATHI 19UECS0699
KAVYA SREE 19UECS0635
VISHNUPRIYA 19UECSO58

Signature of Supervisor :
Mrs.saranya jyothi mam
Assistant professor
Department of CSE,

Vel Tech Rangarajan Dr. Sagunthala


Institute of Science and Technology
Avadi, Chennai-600062.

2
ABSTRACT
This programme is used to do the things in particular values of the
data given by the users.this can be having the the most precious
one who can do the building things in a better way that can have a
programme which can do things in better way.this programme
helps in getting a math lab calculation this can be used in doing
maths as in logical thinking.Moreover, the report specifics how
well these methods of solving solves the puzzle and achieved the
goal of this implementation. The report concludes by evaluating
the end application to analyse how good it met its objectives and
the performance of solving algorithms. Finally, the report
summarises the overall achievements of the application development
and indicates other possible extensions.

3
INTRODUCTION :
Pattern programs in C language: These programs print various patt
erns of numbers and stars. These codes illustrate how to create var
ious patterns using C programming. The C programs involve usag
e of nested for loops (a for loop inside a for loop). A pattern of nu
mbers, star or characters is a way of arranging these in some logic
al manner or they may form a sequence. Some of these patterns ar
e triangles which have special importance in mathematics. Some p
atterns are symmetrical while others are not. Please see the compl
ete page and look at comments for many different patterns.

1) The number must only occur in a column once.


2) The number must only occur in a row once.
3) The number must occur in a sub-grid only once.

➢ BACK GROUND :

The first objective of this project is to create a programme for


pyramidal structure of the algoritham of the programme by
solving this we can do the things in a different way.

1) Backtracking pyramid .
2) Brute-force a pyramid.
3) Stochastic search.

4
OVER VIEW OF THE PROJECT :

The report structured is divided into sections. Each of the section


is dealing with a particular area.

SYSTEM ANALYSIS :

In this section, a description of the project and more details about


the existing algorithms introduced before. More details about the
algorithms mentioned before and logic's for solving the game are
explained.

DEVELOPMENT OF ENVIRONMENT :

It covers the application design for the main aspects; code


structure, features and Graphical User Interface. Also, it
presents some diagrams that explain the overall design and
packages.

HARDWARE REQURIMENTS :

*The requirements are the system ,processor.

5
SOFTWARE REQURIMENTS :

*The requirements are the visual studios,users.

PYRAMIDAL PROGRAME OF NUMBERS :


1
232
34543
4567654
567898765

6
SYSTEM DESIGN :
We have shown five rows above; in the program, you will be a
sked to enter the numbers of rows you want to print in the pyr
amid of stars.

WORKING DIAGRAM AND MODULE :


This diagram has a pyramidal shape of the numbers in this format
the output is executed. I used visual studios to executed this progr
amme

1
232
34543
4567654
567898765

IMPLEMENTATION :
The programme has many execution of pyramids of triangle so thi
s can have very easy process to do the programme.

SOURCE CODE :
This programme is done in the visual studios to get result.

7
Pattern program in C : CODING :

#include <stdio.h>
int main()
{
int i, space, rows, k=0, count = 0, count1 = 0;
printf("Enter number of rows: ");
scanf("%d",&rows);
for(i=1; i<=rows; ++i)
{
for(space=1; space <= rows-i; ++space)
{
printf(" ");
++count;
}
while(k != 2*i-1)
{
if (count <= rows-1)
{
printf("%d ", i+k);
++count;
8
}
else
{
++count1;
printf("%d ", (i+k-2*count1));
}
++k;
}
count1 = count = k = 0;
printf("\n");
}
return 0;
}

Output of program:
1
232
34543
4567654
567898765

9
Result :

In this section, it explains how the system works with by typing


this programme of the application.

Testing :

It details how the test is being implemented at the end of


iterations. Moreover, it explains how the feed backs have been
collected.

Conclusion :

This section concludes the report with what have been achieved.
In addition, it discusses future activities that could be added to the
application

FUTURE ENCHANCEMENT AND REFERENCE :

In future we can use easy way that any programme can be


done.this programme is build by the visual studios

10

Potrebbero piacerti anche