Sorting an array means to arrange its elements in an


1. Write a program, which reads from the console two integer numbers N and K (K>N) and array of N integers. Find those K consecutive elements in the array, which have maximal sum.

2. Sorting an array means to arrange its elements in an increasing (or decreasing) order. Write a program, which sorts an array using the algorithm "selection sort".

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Sorting an array means to arrange its elements in an
Reference No:- TGS02141618

Expected delivery within 24 Hours