Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by krupni ( 15 years ago )
#include "stdafx.h"
#include "iomanip"
#include "iostream"
#include <stdlib.h>
#include <time.h>
using namespace std;
int main ()
{
const int n=10;
int a[n];
int max, min; //значения для макс и мин элементов
int mini, maxi; //значения для макс и мин индексов
srand((unsigned)time(NULL)); //делаем массив
for( int i=0;i<n;i++)
{
a[i]=rand()
Revise this Paste
Children: 42890