CSC105SU2021Arrays

From BU Computer Science
Revision as of 14:27, 16 June 2021 by Cathy.bareiss (talk | contribs) (Created page with "==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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.