0
Write a program that inputs 8 integers and sorts them in a decreasing order.
Solution?
2 ответов
+ 2
Elie G. Medawar Not a complete code.Please give the full code and attach the code with your description from code playground.
0
#include<iostream>
using namespace std;
const int size = 8;
int a[size];
void main()
{
int temp;
for (int i = 0; i < size; i++)
{
cout << "enter array element:";
cin >> a[i];
}
for (int i = 0; i < size-1; i++)
{
For (int j=0;j<size-1;j++)