I have done some basic programming, but am a beginner. I am trying to write a program to calculate first order statistic distributions. so far i have a program to with
1. a loop to input a number of values and their respective probabilities
2. asks for sample size
#include <iostream>
#include <cmath>
using namespace std;
const int maxSS = 1000;
int main()
{
int values[maxSS];
double probs[maxSS];
int uss;
cout << "please enter the number of values possible : ";
cin >> uss;
for (int s = 0; s < uss; ++s)
{
cout << " Please enter sample value : ";
cin >> values[s];