//Name: yuelong su
//CO SCI 243
//Lab 10 - pg441 #5
//date: 5/16/2019
//Description: program that reads in a list of integers into
// an array with base type int.
#include<iostream>
#include<fstream>
using namespace std;
void showScreen();
int main()
{
int size(0), arr[50], i(0), choice;
char filename[50];
showScreen();
cin >> choice;
if(choice == 1)//user input option
{
cout << "\nHow many numbers? ";
cin >> size;
cout << "Enter " << size << " integers:\n";
for(i = 0; i < size; i++) //user input some numbers depending on the size user sat
{
cin >> arr[i];
}
}
if(choice != 1)//file option
{
cout << "\nEnter a file name with directory: ";
cin >> filename;
ifstream inFile(filename);
while(inFile >> arr[i])//count how many numbers are in the file
{
size++;
i++;
}
}
for(i = 0; i < size; i++)
{
for(int j = 0; j <= i; j++)
{
if(arr[i] > arr[j])
{
int temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
}
}
cout << "\nN Count\n";
for(i = 0; i < size; i++)//show the data to the screen in the required format
{
int count(1);
while(arr[i] == arr[i + 1] && i < size)//count how many times the number appears in the file
{
count++;
i++;
}
cout << arr[i] << " " << count << endl;
}
return 0;
}
void showScreen()
{
cout <<"This program that reads in a list;"
<<"of integers into an array with base type int.\n";
cout << "Enter 1 for user input or other number for file input: ";
}
Values and Strategy
1
Values and Strategy
2
Values and Strategy
Introduction
Compass Group USA is an organization that provides foodservice and support services to corporate cafeterias, arenas, museums, award winning restaurants and many other related businesses in the market place. It is a global leader as a contractor in foodservice but also in the hospitality market. The USA branch began in 1994 with the purchase of Canteen which was bringing in over $1 billion in US dollar revenue and the organization continues to grow dramatically.
Strategic Management Process
When reviewing this process, we first think of rules to follow or obey. However, there is a lot more to strategic management process if we understand the philosophical views from its given processes. They are steps we must ta.
Name yuelong suCO SCI 243Lab 10 - pg441 #5dat.docx
1. //Name: yuelong su
//CO SCI 243
//Lab 10 - pg441 #5
//date: 5/16/2019
//Description: program that reads in a list of integers into
// an array with base type int.
#include<iostream>
#include<fstream>
using namespace std;
void showScreen();
int main()
{
int size(0), arr[50], i(0), choice;
char filename[50];
2. showScreen();
cin >> choice;
if(choice == 1)//user input option
{
cout << "nHow many numbers? ";
cin >> size;
cout << "Enter " << size << " integers:n";
for(i = 0; i < size; i++) //user input some numbers
depending on the size user sat
{
cin >> arr[i];
}
}
if(choice != 1)//file option
{
cout << "nEnter a file name with directory: ";
cin >> filename;
3. ifstream inFile(filename);
while(inFile >> arr[i])//count how many numbers are in
the file
{
size++;
i++;
}
}
for(i = 0; i < size; i++)
{
for(int j = 0; j <= i; j++)
{
if(arr[i] > arr[j])
{
int temp = arr[i];
4. arr[i] = arr[j];
arr[j] = temp;
}
}
}
cout << "nN Countn";
for(i = 0; i < size; i++)//show the data to the screen in the
required format
{
int count(1);
while(arr[i] == arr[i + 1] && i < size)//count how many
times the number appears in the file
{
count++;
i++;
}
cout << arr[i] << " " << count << endl;
5. }
return 0;
}
void showScreen()
{
cout <<"This program that reads in a list;"
<<"of integers into an array with base type int.n";
cout << "Enter 1 for user input or other number for file input:
";
}
Values and Strategy
1
Values and Strategy
2
6. Values and Strategy
Introduction
Compass Group USA is an organization that provides
foodservice and support services to corporate cafeterias, arenas,
museums, award winning restaurants and many other related
businesses in the market place. It is a global leader as a
contractor in foodservice but also in the hospitality market.
The USA branch began in 1994 with the purchase of Canteen
which was bringing in over $1 billion in US dollar revenue and
the organization continues to grow dramatically.
Strategic Management Process
When reviewing this process, we first think of rules to
follow or obey. However, there is a lot more to strategic
management process if we understand the philosophical views
from its given processes. They are steps we must take to reach
our goals thru strategic planning which is set to lead in the
market share. There are five different stages that this process
uses so that everyone understands the goal and what it takes to
get there, goal setting, analyzing, strategy formulation, strategy
7. implementation and evaluate and control (Clayton, 2017).
First, is the goal setting. We use this process to understand and
define the vision of the business. The short and long-term
commitments are key factors of this process. Point out how the
organization plans to reach its objective keeping in mind that
the employees are a huge part of this commitment. Second,
analyze all the data collected so it can breakdown the needs of
the business and in return be able to detail the initiatives it
needs to accomplish the growth of the company. Third, strategy
formulation comes after that has been analyzed. These steps
help define what current programs or department need to reach
their potential but also identifies areas where support is most
needed for success (Clayton, 2017). Fourth, strategy
implementation will help release the information to the rest of
the company and put in place so that everyone has what each of
them needs to accomplish the goals. Fifth, evaluate and control
will point out what is working and what needs help or change.
This last part of the process is crucial because after a define
plan is put in place, it must be able to adapt to any changes and
redefine the business as it evolves with the changes and its
surroundings. As the organization uses all these components
and gets everyone to work together, the core value of the
business with rise but it will learn to adjust with time.
Mission and Vision
Compass Group is a global business and although is a very
large organization made up of many entities with many different
clients as well as vendors and suppliers, the mission and vision
are set in place to promote personal and family values. The
mission is “Everyone in Compass Group is committed to
consistently delivering superior service in the most efficient
way, for the shared benefit of our customers, shareholders, and
associates” ("Compass Group Mission & Vision", 2017). The
mission speaks commitment to perform which means that in
order to do so, they must promote safety and health to everyone
from employees to the clients and community. Our customers
can only be amazed if we are consistent and demonstrate the
8. ability to perform our best when providing best quality and
value to our products and services. Its vision is “To be a world-
class provider of contract foodservice and support services,
renowned for our great people, our great service, and our great
results.” ("Compass Group Mission & Vision", 2017). These are
values that promote professional standards which in turn create
trust and respect for all. A major goal is to set standards for
quality and to always have a win-win passion which are major
factors when you want to be a leader in the corporate world and
be able to compete as a major competitor not just in service but
a leader in ethics and responsibility. Making positive
contribution to the community, customer and employees helps
the organization set its goal as a whole and not just one section
of the business.
Ethics and Corporate Social Responsibility
Compass Group goals are to be a world leading
organization if the food management and support business
market share. For that same reason, it depends in the entire
organization follow the code of Business conduct which
requires everyone to always act in a professional and
responsible manner. In strategic planning, the role of ethics and
corporate social responsibility are very high set standards that
need to be followed and practice ("The Ethics Of Corporate
Social Responsibility", 2013). Businesses are becoming more
transparent by releasing their achievements thru their financial
reports. By making good decisions, for people or the
environment, businesses are listening to their stakeholders. The
public image can harm a business drastically, but it can help
gain and maintain clients as their public image show social
responsibility ("The Ethics Of Corporate Social
Responsibility", 2013). As a Director with Compass Group, I
am dedicated and committed to perform my best and to work
ethically as I know that my actions and reactions are a mirror
image of what Compass group is trying to accomplish. It is the
mission and vision of Compass Group that sets the goals, but
most important is as employees to follow but also enforce the
9. value thru our employees and partners in the business.
Conclusion
Since 1994, Compass Group USA continues to acquire new
organizations and adding them into their world portfolio. The
commitment to excellence does not lessen or weakened as it
grows. In fact, the need for improvement get stronger and
better each time. “The World Bank defines Corporate Social
Responsibility as “the commitment of businesses to behave
ethically and to contribute to sustainable economic development
by working with all relevant stakeholders to improve their lives
in ways that are good for business, the sustainable development
agenda, and society at large"("The Ethics Of Corporate Social
Responsibility", 2013). It is our job as employees, management
staff, Senior and Upper management to live and breathe these
rules and to implement them but practice and maintain them so
that we, as a whole, can promote growth and excellence thru the
organization.
References
Clayton, J. (2017). The Five Stages of the Strategic
10. Management Process. Retrieved from
http://smallbusiness.chron.com/five-stages-strategic-
management-process-18785.html
Compass Group Mission & Vision. (2017). Retrieved from
http://www.compass-usa.com/mission-vision/
The Ethics of Corporate Social
Responsibility. (2013). Retrieved from
https://www.brandeis.edu/ethics/ethicalinquiry/2013/November.
html