ANSWERS: 1
  • int n = 0; int avg = 0; while(array[n] != 50) { avg = array[n] + avg; n++; } print << avg/n; // including the number 50 print << (avg+50)/n; DONE

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy