The solution of the given problem is below:
The screenshot of the code is :
![1 #include<bits/stdc++.h> 2 using namespace std; 3 int main() srand(time()); 5 int sales[5][3]; int i, j; 7 for(i=1;i<=5;i++)](http://img.homeworklib.com/questions/0491d3f0-e566-11ea-b4e5-d55d37520729.png?x-oss-process=image/resize,w_560)
![for(i=1;i<=5; i++) int sum=0; for(j=1;j<=3; j++) { { if(max<sales[i][j]) { max=sales[i][j]; pri; } 29 30- 31 32- 33 34 - 35 3](http://img.homeworklib.com/questions/04fa0390-e566-11ea-bcd9-8b465793a9c7.png?x-oss-process=image/resize,w_560)
![{ if(m<sales[i][3]) { m=sales[i][j]; z=i; ہا 57 - 58 59- 50 51 52 53 54 55 56 57 58 59 } cout<<The branch makes the highest](http://img.homeworklib.com/questions/0553bbc0-e566-11ea-89e3-f71289af8bc4.png?x-oss-process=image/resize,w_560)
The output screen :

Please upvote in case of any douts comment me.
c++ please Instructions In this assignment, you need to complete following tasks on 2D array of...
Write c++ program
In this assignment, you need to complete following tasks on 2D array of randomly sales figures. Assume that you are the manager of coffee shop chain, and oversee 5 branches. ID of branches are 1 to 5. You already collected sales data for yesterday from each branch, in three categories: morning, afternoon, and evening. First, you need to create a 2D array (5x3) with random numbers between 300 and 1000 (including 300 and 1000), i.e., from $300...
Write c++ program
In this assignment, you need to complete following tasks on 2D array of randomly sales figures. Assume that you are the manager of coffee shop chain, and oversee 5 branches. ID of branches are to 5. You already collected sales data for yesterday from each branch, in three categories: morning, afternoon, and evening. First, you need to create a 2D array (5x3) with random numbers between 300 and 1000 (including 300 and 1000), i.e., from $300 to...
Need help with this programming please this is the instruction
my teacher provided
Write a C++ class called "Sales" and a main( ) function that uses the class. Also, write documentation of your project. Below is a specification of the class. . INTRODUCTION A company has four salespeople (1 to 4) who sell five different products ( to 5)1. Once a day each salesperson passes in a slip for each different type of product sold. Each slip contains: The salesperson...
(Please do not copy and paste from another question. I
am new to this and need it to be simple)
Draw an ERD for a “Hospital” with many departments and employees
in each department. show things like (one to one, one to many, many
to many).
What attributes would you store regarding each
objects/class/data entities?
Thank you!
(Example)
FIGURE 4-10 An ERD for a bank with many branches Customer cust number-PK name bill address home phone office phone = Account...
Write SQL statements to answer the following questions using Assignment 3’s schema (tables from part 1). 1- Find how many branches had have loans over $2000.00. 2- For each branch, find the most expensive loan. Your output should include Branch Id, loan amount for the highest loan for that Branch. 3- Find how many accounts there are for each customer. The output should include customer id and number of accounts for that customer. 4- Find the total balance amount of...
code must be c++ thank you
This assignment is about array operations. You need to count a specific items in an array. Steps to follow are here: • Create an array with 1000 items and fill it with random numbers from the range of -100, 100 (including - 100 and 100). . In your program asks user to enter a number, K. • Search this number and print the frequency (how many) of this K is found in the array...
write c++ program
This assignment is about array operations. You need to count a specific items in an array. Steps to follow are here: . Create an array with 1000 items and fill it with random numbers from the range of -100, 100 (including -100 and 100). In your program asks user to enter a number, K. Search this number and print the frequency (how many) of this K is found in the array. • Ask another number, and so...
using java
Program: Please read the complete prompt before going into coding. Write a program that handles the gradebook for the instructor. You must use a 2D array when storing the gradebook. The student ID as well as all grades should be of type int. To make the test process easy, generate the grade with random numbers. For this purpose, create a method that asks the user to enter how many students there are in the classroom. Then, in each...
Csharp question. Need it in 2 hours please You will complete the C# program using Windows (Not Console). The following table contains quarterly sales figures for five (5) departments: Quarter 1 Quarter 2 Quarter 3 Quarter 4 Total Department 1 750 660 910 800 Department 2 800 700 950 900 Department 3 700 600 750 600 Department 4 850 800 1000 950 Department 5 900 800 960 980 Total Design and write a Windows program/module named SalesAnalysis that will: a....
For this assignment, you will need to determine the
following:
What is a logical objective for the sales call;
Where they are on the sales continuum and what questioning
techniques to use;
Possible objections/consequences;
A logical commitment to advance the sale
Your position You are a sales representative for the Amelia Island Plantation Check them out at this website - hotels amelia- lantatio As you will see, this is a beautiful, upscale resort near Jacksonville, Florida (on the Atlantic Coast)...