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
Natasha_Volkova [10]
3 years ago
11

Create a console application to keep track of contact information. Print the contacts of the address book in sorted order first

by last name, then by first. For each person in the address book have fields for: First Name Last Name Phone Number Email Address
Computers and Technology
1 answer:
vaieri [72.5K]3 years ago
3 0

Answer:

The code is written in C++ below with appropriate comments

Explanation:

#include <iostream>

#include <cstring>  //this takes care of the customer details

//that will be imputed into the program

using namespace std;

//using user-defined struct format to store contact details

struct Contact{

char FirstName [60]; //character string for first name

char LastName [60]; //character string for last name

char PhoneNumber [30]; //character string for phone number

//this takes care of cases where international format is used

char Email [40]; //character string for email

};

int main()

{

//case example for storing values of a contact called John

Contact John;

//strcpy is used to assign character strings

//to user-defined structs

strcpy(John.FirstName,"John");

strcpy(John.LastName, "Doe");

strcpy(John.PhoneNumber,"+1234567890");

strcpy(John.Email, "johndoe @ nomail . com");

//added spaces due to regulations

//this has stored the information of Joe

//printing the contact name

cout<<"The customer is:"<<John.LastName<<" "<<John.FirstName;

//prints out the last name then first name as given

//you can edit it for the desired customers

}

You might be interested in
Why does brainly have 3-2 sites? I'm asking since I get tired from making 3-2 accounts on each one. Well by checking each accoun
Lyrx [107]
Each site could be for a different region for Brainly mainly because I just checked and one of the other Brainly sites had a lot more different people having questions in different languages.  
6 0
3 years ago
Every type of internet service requires a connection and monthly payment to a(n): isp voip lms mmorpg
Rainbow [258]
Every type of Internet service requires a connection and monthly payment to an internet server provider. An Internet service provider or as called as ISP is a company that offers customers with internet access. The data may be conveyed using several technologies as well as dial-up, DSL, cable modem, wireless or enthusiastic high-speed interrelates.
6 0
4 years ago
Explain in not less than 3 Sentences
Mnenie [13.5K]

Answer:

<em><u>The Decimal Numeral system :-</u></em>

It is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral system.

<u><em></em></u>

<u><em>Binary Number system :- </em></u>

It is a number expressed in the base-2 numeral system , which uses only two symbols: typically "0" and "1". The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit, or binary digit.

<u><em>hope it helps you...</em></u>

5 0
3 years ago
What is the main difference between a shape and an icon?
otez555 [7]

Answer:

a.

Explanation:

you can size and position a shape but not an icon

7 0
2 years ago
Write a code block to decode strings from secret encodings back to readable messages. To do so: Initialize a variable called dec
gayaneshka [121]

Answer:

The answer is provided in the attached document.

Explanation:

The explanation is provided in the attached document.

7 0
3 years ago
Other questions:
  • A curb of this color means you may stop only to pick up or drop offs passengers or male
    7·1 answer
  • Technician A says that if the coefficient of friction is too low, the brakes will grab.
    12·1 answer
  • What age group is experiencing the most growth in social media
    13·1 answer
  • In a proper webpage, which tag holds all of a webpages visible HTML?
    5·1 answer
  • Which statement regarding socializers is true?
    10·2 answers
  • Question 1 :George, a user, is having trouble connecting to network resources, including shared folders on the local network and
    7·1 answer
  • I need help please :((((<br> I need it in python
    14·1 answer
  • Which area of a magazine cover is often important for those shops and stalls that cannot display the entire cover page on a stan
    15·1 answer
  • Ye lust, and have not: ye kill, and desire to have, and cannot obtain: ye fight and war, yet ye have not, because ye ask not.​
    15·1 answer
  • Write a program to generate the 1,8,27,64,125,226,343,512,729,1000 series.​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!