(Solved) : X Programming Assignment 8 Write Program Determines Company S Four Divisions Northeast Sou Q42732317 . . .

In C++
X Programming assignment 8: Write a program that determines which of a companys four divisions (Northeast, Southeast, NorthwX Programming assignment 8: Write a program that determines which of a company’s four divisions (Northeast, Southeast, Northwest, and Southwest) had the greatest sales for a quarter. It should include the following two functions, which are called by main. double getsales () is passed the name of a division. It asks the user for a division’s quarterly sales figure, validates the input, then returns it. It should be called once for each division. void findHighest () is passed the four sales totals. It determines which is the larg- est and prints the name of the high grossing division, along with its sales figure. Input Validation: Do not accept dollar amounts less than So.00. Do not use global variables. Show transcribed image text X Programming assignment 8: Write a program that determines which of a company’s four divisions (Northeast, Southeast, Northwest, and Southwest) had the greatest sales for a quarter. It should include the following two functions, which are called by main. double getsales () is passed the name of a division. It asks the user for a division’s quarterly sales figure, validates the input, then returns it. It should be called once for each division. void findHighest () is passed the four sales totals. It determines which is the larg- est and prints the name of the high grossing division, along with its sales figure. Input Validation: Do not accept dollar amounts less than So.00. Do not use global variables.

Expert Answer


Answer to X Programming assignment 8: Write a program that determines which of a company’s four divisions (Northeast, Southeast, N…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?