You are on page 1of 5

UNIVERSITY INSTITUTE OF ENGINEERING

Department of Computer Science & Engineering

Subject Name: Advanced Programming

Subject Code: 20CSP-314

Submitted to: Submitted by:

Er. Harsh Sharma Mam Name: Ritesh

UID: 21BCS4259

Section: 802

Group: B
INDEX

Ex. List of Experiments Conduct Viva Record Total Remarks/Signature


No (MM: 12) (MM: 10) (MM: 8) (MM: 30)

1.1

1.2

1.3

2.1

2.2

2.3

2.4

3.1

3.2

3.3
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment1.1
Student Name: Ritesh Biswas UID: 21BCS4259
Branch: CSE Section/Group: 802/B
Semester: 5th Date of Performance:03/08/23
Subject: Advanced Programming SubjectCode: 21CSP-314

Aim: To implement the concept of Dynamic Array

Simple array sum:


Source Code
#include<iostream>
#include<numeric> using
namespace std; int
main(){
int arr[]={1,2,4,5,6};
int size = 5;
int sum =0 ;
for (int i = 0; i < size; i++)
{
sum = sum + arr[i];
}
cout<<sum;
}

You might also like