8/31/2010

BCS2234 01/9/ 2010 Lab ARRAYS (no 2)


1. Write a program that reads ten numbers, computes their average, and determines how many scores are above or equal to the average and how many scores are below the average.

2. Write a program that reads in ten numbers and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once). Hint: Read a number and store it to an array if it is new. If the number is already in the array, discard it. After the input, the array contains the distinct numbers. (Liang, Chapter 6 Arrays -Programming Exercise 6.5)

Related post BCS2234 30/8/ 2010 Lab ARRAYS

No comments:

Cara download Installer windows 10 dalam format ISO

1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan.  ...