The Philippine Stock Exchange (PSE) is the national stock market of the Philippines. It is an organized market for purchasing and selling of securities such as shares, stocks, bonds, and other similar financial instruments of various listed companies in different industries. As of 1 January 2022, there are 278 listed companies in PSE. Write a C++ program that asks user input stock symbol, checks whether the input symbol is included in the listed companies in the Philippine Stock Exchange market, and outputs the position of the listed company in the array. Use linear search algorithm.
The Philippine Stock Exchange (PSE) is the national stock market of the Philippines. It is an organized market for purchasing and selling of securities such as shares, stocks, bonds, and other similar financial instruments of various listed companies in different industries. As of 1 January 2022, there are 278 listed companies in PSE. Write a C++ program that asks user input stock symbol, checks whether the input symbol is included in the listed companies in the Philippine Stock Exchange market, and outputs the position of the listed company in the array. Use linear search algorithm.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
The Philippine Stock Exchange (PSE) is the national stock market of the Philippines. It is an organized market for purchasing and selling of securities such as shares, stocks, bonds, and other similar financial instruments of various listed companies in different industries. As of 1 January 2022, there are 278 listed companies in PSE.
- Write a C++ program that asks user input stock symbol, checks whether the input symbol is included in the listed companies in the Philippine Stock Exchange market, and outputs the position of the listed company in the array. Use linear search
algorithm .
Note: Use this list of stock symbols attached in the table.
S.No. | Company Name | Symbol | Sector | Sub-Sector | Listing Date |
1 | 2GO Group, Inc. | 2GO | Services | Transportation Services | 15-May-95 |
2 | 8990 Holdings, Inc. | HOUSE | Property | Property | 9-Dec-10 |
3 | A Brown Company, Inc. | BRN | Property | Property | 8-Feb-94 |
4 | A. Soriano Corporation | ANS | Holding Firms | Holding Firms | 25-Oct-73 |
5 | AbaCore Capital Holdings, Inc. | ABA | Holding Firms | Holding Firms | 28-Oct-87 |
6 | Aboitiz Equity Ventures, Inc. | AEV | Holding Firms | Holding Firms | 16-Nov-94 |
7 | Aboitiz Power Corporation | AP | Industrial | Electricity, Energy, Power & Water | 16-Jul-07 |
8 | Abra Mining and Industrial Corporation | AR | Mining and Oil | Mining | 24-Dec-69 |
9 | ABS-CBN Corporation | ABS | Services | Media | 8-Jul-92 |
10 | ABS-CBN Holdings Corporation | ABSP | Services | Media | 7-Oct-99 |
11 | AC Energy Corporation | ACEN | Industrial | Electricity, Energy, Power & Water | 5-Jan-70 |
12 | ACE Enexor, Inc. | ACEX | Mining and Oil | Oil | 28-Aug-14 |
13 | Acesite (Phils.) Hotel Corporation | ACE | Services | Hotel & Leisure | 5-Dec-86 |
14 | AgriNurture, Inc. | ANI | Industrial | Food, Beverage & Tobacco | 25-May-09 |
15 | AllDay Marts, Inc. | ALLDY | Services | Retail | 3-Nov-21 |
16 | AllHome Corp. | HOME | Services | Retail | 10-Oct-19 |
17 | Alliance Global Group, Inc. | AGI | Holding Firms | Holding Firms | 19-Apr-99 |
18 | Alliance Select Foods International, Inc. | FOOD | Industrial | Food, Beverage & Tobacco | 8-Nov-06 |
19 | Alsons Consolidated Resources, Inc. | ACR | Industrial | Electricity, Energy, Power & Water | 12-Apr-93 |
20 | Altus Property Ventures, Inc. | APVI | SME | SME | 26-Jun-20 |
21 | Anchor Land Holdings, Inc. | ALHI | Property | Property | 8-Aug-07 |
22 | Anglo Philippine Holdings Corporation | APO | Holding Firms | Holding Firms | 31-Jul-59 |
23 | APC Group, Inc. | APC | Services | Other Services | 8-Mar-94 |
24 | Apex Mining Co., Inc. | APX | Mining and Oil | Mining | 7-Mar-74 |
25 | Apollo Global Capital, Inc. | APL | Services | Information Technology | 18-Oct-12 |
26 | Araneta Properties, Inc. | ARA | Property | Property | 14-Nov-89 |
27 | AREIT, Inc. | AREIT | Property | Property | 13-Aug-20 |
28 | Arthaland Corporation | ALCO | Property | Property | 19-Mar-96 |
29 | Asia Amalgamated Holdings Corporation | AAA | Holding Firms | Holding Firms | 22-Mar-73 |
30 | Asia United Bank Corporation | AUB | Financials | Banks | 17-May-13 |
31 | Asiabest Group International Inc. | ABG | Holding Firms | Holding Firms | 10-Jul-79 |
32 | Asian Terminals, Inc. | ATI | Services | Transportation Services | 25-Jan-96 |
33 | Atlas Consolidated Mining and Development Corporation | AT | Mining and Oil | Mining | 17-Nov-70 |
34 | ATN Holdings, Inc. | ATN | Holding Firms | Holding Firms | 24-Sep-70 |
35 | Atok-Big Wedge Co., Inc. | AB | Mining and Oil | Mining | 8-Jan-48 |
36 | Axelum Resources Corp. | AXLM | Industrial | Food, Beverage & Tobacco | 7-Oct-19 |
37 | Ayala Corporation | AC | Holding Firms | Holding Firms | 8-Nov-76 |
38 | Ayala Land, Inc. | ALI | Property | Property | 5-Jul-91 |
39 | AyalaLand Logistics Holdings Corp. | ALLHC | Holding Firms | Holding Firms | 28-Feb-90 |
40 | Bank of the Philippine Islands | BPI | Financials | Banks | 12-Oct-71 |
41 | Basic Energy Corporation | BSC | Industrial | Electricity, Energy, Power & Water | 16-Oct-73 |
42 | BDO Leasing and Finance, Inc. | BLFI | Financials | Other Financial Institutions | 6-Jan-97 |
43 | BDO Unibank, Inc. | BDO | Financials | Banks | 21-May-02 |
44 | Belle Corporation | BEL | Property | Property | 2-Feb-77 |
45 | Benguet Corporation | BC | Mining and Oil | Mining | 4-Jan-50 |
46 | Berjaya Philippines Inc. | BCOR | Services | Casinos & Gaming | 29-Nov-48 |
47 | BHI Holdings, Inc. | BH | Holding Firms | Holding Firms | 2-Apr-73 |
48 | Bloomberry Resorts Corporation | BLOOM | Services | Casinos & Gaming | 17-Oct-00 |
49 | Bogo-Medellin Milling Company, Inc. | BMM | Industrial | Food, Beverage & Tobacco | 16-Nov-50 |
50 | Boulevard Holdings, Inc. | BHI | Services | Hotel & Leisure | 28-Apr-97 |
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 3 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education