Write a program that will read in 8 numbers into an array


Question:  you need quick help completing these three programs in c++ language.

Question 1. A team consist of 3 players. The total weight of a team must be less than 350 pounds. Read in the weight of 3 people, print out each person's weight and the total weight of the team and if the team weighs 350 pounds r less. Your program should work for any number of lines of data.

Question 2. Our store wants to triple its price, but we do not want a price to be over 500.Read in a price and print out the price, the price tripled and if tripled the price is more than 500 or not. Your program should work for any number of lines of data.

Question 3. Write a program that will read in 8 numbers into an array. Print out the numbers from the array, then print the 2nd number, the 5th number and the last number.

It must compile with no errors and follow the directions.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program that will read in 8 numbers into an array
Reference No:- TGS0945046

Expected delivery within 24 Hours