subject

How to make this more professional ? change something on my work

#include

#include

#include

using namespace std;

// prototype

double getsales(string);

// prototype

void findbiggest(double, double, double, double);

// this is the main that will call both of those fonctions.

int main()

{

double ne, se, nw, sw;

cout < < " this program determines which of a company’s four divisions (northeast, southeast, northwest, and southwest) had the greatest sales for a quarter." < < "\n"<
// this is to call function getsales for each division.

ne = getsales("northeast");

se = getsales("southeast");

nw = getsales("northwest");

sw = getsales("southwest");

// this is to call the function findhighest

findbiggest(ne, se, nw, sw);

return 0;

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:00, mterzic1
Assume that you have an array of integers named a. which of these code segments print the same results? int i = 1; while(i < a. length) { system. out. println(a[i]); i++; } int i; for (i = 0; i < a. length; i++) { system. out. println(a[i]); } for (int i : a) { system. out. println(i); } i and ii only ii and iii only i and iii only all three print the same results. all three print different results.
Answers: 3
image
Computers and Technology, 22.06.2019 06:00, kiaunarayne808
The width of a piece of rectangular land is 5m shorter rhan 1/3 of its length .find the width of the land if the length is 60m,150m.
Answers: 1
image
Computers and Technology, 22.06.2019 21:00, mazolethrin9632
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
image
Computers and Technology, 23.06.2019 04:40, Koriunaa
The narrative structure of the popular movies can be broken down into
Answers: 3
You know the right answer?
How to make this more professional ? change something on my work

#include

...

Questions in other subjects:

Konu
Arts, 04.12.2021 05:00
Konu
Mathematics, 04.12.2021 05:00
Konu
Mathematics, 04.12.2021 05:00