CBSE BOARD XII, asked by farzanafirdauz, 9 months ago

Write a c++ program to enter 10 numbers into an array and find second largest element

Answers

Answered by NikhilKatkar
1

Answer:

make me brainlist answer.

#include<iostream>

using namespace std;

int main ()

{

int A[10], n, i, j, x;

cout << "Enter size of array : ";

cin >> n;

cout << "Enter elements of array : ";

for (i = 0; i < n; i++)

cin >> A[i];

Similar questions