From BU Computer Science
Jump to navigation Jump to search

Array assignment

Choice 1

Write a program that computes (and displays) the number of different users visiting a site. You must use an array.

Choice 2

Write a program that takes a An array of triplets (each with three numbers) and outputs the total whose product is the largest. Create the array first by reading the numbers from a file.. Then decide which triplet is the one.