#include 
#include 
#include 

const int x=150;

int main(){

int list[k];

int k=0;

cout<<"Enter the scores and [-1] if you have entered them all."; 

while (list[k]!=-1){

cout<<"Score #"<<(k+1)<<": ";

cin>>list[k];
++k;}

int k=0;

while (list[k]<=k+1){

cout<

    Source: geocities.com/vrsplace/progs

               ( geocities.com/vrsplace)