CTSD Project Final2
CTSD Project Final2
On
<TITLE>
SUBMITTED BY:
2100032124 VVN.Sainath
2100032125 T.Sairam
2100032151 V.Rohith
2100032129 Koushik
Mr.NAGARAJ
ASST.PROF CTSD
KL UNIVERSITY
Green fields, Vaddeswaram – 522 502
Guntur Dt., AP, India.
DEPARTMENT OF BASIC ENGINEERING SCIENCES
CERTIFICATE
I express the sincere gratitude to our Director Dr. A. Jagdeesh for his
administration towards our academic growth.
Name: VVN.Sainath
INTRODUCTION
Advantages of Arrays:
Advantages of Arrays
Arrays represent multiple data items of the same type
using a single name.
In arrays, the elements can be accessed randomly by
using the index number.
Arrays allocate memory in contiguous memory
locations for all its elements. Hence there is no chance
of extra memory being allocated in case of arrays. This
avoids memory overflow or shortage of memory in
arrays.
Using arrays, other data structures like linked lists,
stacks, queues, trees, graphs etc can be implemented.
Two-dimensional arrays are used to represent matrices
Future enhancements:-
SOFTWARE REQUIREMENTS:
The major software requirements of the project are as follows:
Language :C language
HARDWARE REQUIREMENTS:
The hardware requirements that map towards the software are as
follows:
RAM :
Processor :
DATA FLOW DIAGRAM
ALGORITHM
Step1:start Step1:start
Step2:declare and read Step2: declare and read
the values the array
Step3: Step3:
STEP4:transefer the Step4: print the result
elements to fuction call
Step5: stop Step5:stop
IMPLEMENTATION
#include <stdio.h>
#define R 5
#define C 5
int MaxSum(int arr[R][C])
{
int i, j, sum;
if (R < 3 || C < 3)
return -1;
int max_sum
= -500000;
}
INTEGRATION AND SYSTEM TESTING
OUTPUTS
Screen Shots:
CONCLUSION