1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
scoundrel [369]
3 years ago
15

You are working as a Software Programmer for one of the big retail company. You need to implement the program that can store at

least 15 customer information using the Array concept. You need to implement the individual array to store each of below field. CustomerName CustomerAddress1 City State Zip Once the data is stored in the array, then you need to loop thru the entire zip loop and print all the zip code on the command line.
Computers and Technology
1 answer:
Aleks [24]3 years ago
5 0

Answer:

The C++ code is given below with appropriate comments. Random names of customer information are chosen as samples

Explanation:

#include <iostream>

using namespace std;

int main()

{

// Initialize String Arrays for customerName,customerAddress1,city,state,zip for 15 customers

string customerName[15] = {"Liam","Noah","William","James","Logan","Benj","Mason","Elijah","John","Patty","Cheryl","Nick","Brian","Steve","mark"};

string customerAddress1[15] = {"Liam - Address1","Noah - Address2","William - Address3","James - Address4","Logan - Address5","Benjamin - Address6","Mason - Address7","Elijah - Address8","John - Address9","Patty - Address10","Cheryl - Address11","Nick - Address12","Brian - Address13","Steve - Address14","mark - Address15"};

string city[15] = {"Sitka","Juneau","Wrangell","Anchorage","Jacksonville","Anaconda","Oklahoma City","Fort Worth","Dallas","Sitka","Juneau","Wrangell","Anchorage","Jacksonville","Anaconda"};

string state[15] = {"Alaska","Alaska","Alaska","Alaska","Florida","Montana","Montana","Oklahoma","Texas","Arizona","Tennessee","California","Virginia","Indiana","Virginia"};

int zip[15] = {30041,36602,75062,78952,12071,55874,11236,44512,55262,99874,11020,55820,11304,11587,11047};

// Print Zips for the customers

cout <<"Customer Names"<<"\t"<< "Zip Code"<< "\n";

for (int i = 0; i < 15; i++)

cout <<customerName[i]<<"\t\t\t"<< zip[i] << "\n";

}

You might be interested in
How has social media and the workplace affected you?
MAVERICK [17]

Answer and Explanation:

Social Media keeps on developing, as do the discourses in regards to its application inside the domain of business and learning.

There are different translations of online life, regardless of whether it is explicit to systems administration and web 2.0 innovations or ranges the utilization of any current innovation that improves social connections.

Social media, in any case, has numerous advantages to business, particularly the obvious head-ways in joint effort and correspondence.

As the innovation of social media keeps on changing and develop in notoriety, organizations should think about techniques to use its utilization in the work environment.

5 0
4 years ago
Question #1
Evgen [1.6K]

Answer:

Pseudocode and flowchart.

Explanation:

I just got it correct.

8 0
3 years ago
If I wanted to repeat an action such as a heading for a paper, it would be helpful to _____. create a citation create a caption
salantis [7]
Um... Copy and paste
7 0
4 years ago
Read 2 more answers
Linux uses the freeware ____ shell as its default command interpreter.
babymother [125]
<span>Linux uses the freeware bash shell as its default command interpreter.</span>
6 0
4 years ago
Which measurement symbol is this?<br><br><br>PLS HELP ME​
andreev551 [17]

Answer:

hi! can you please leave the symbol so I can help you??

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • Sarah has to pick images that display camera care. Which images would she pick to show camera care?
    11·1 answer
  • What is the circular motion that the earth makes in its orbit around the sun
    14·1 answer
  • Grace is the sub-editor in a business firm. which feature of a word processing program would she use to make her changes visible
    14·1 answer
  • In the circuit seen here, the resistor has a resistance of 3 ohms. If no change in the battery size occurs, what will happen to
    15·2 answers
  • A virtual meeting is the same thing as a/an A. online meeting. B. VoIP. C. seminar. D. convention.
    12·1 answer
  • _______ allows you to add formatting such as shapes and colors to text.
    14·1 answer
  • Design by contract considers the software system to be a setof:
    10·1 answer
  • Your computer monitor’s power switch is in the ‘ON’ position; however, the display is blank. Which of the following is NOT a lik
    5·1 answer
  • On the new iOS version, can you save photos from ‘review confirmed photos’? If so, how? Thanks!
    10·1 answer
  • 3. It is important to make certain that your employees are aware of the work ethic
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!