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
Elan Coil [88]
3 years ago
12

Write a function named intro that takes a string as input.

Computers and Technology
1 answer:
Pani-rosa [81]3 years ago
6 0

Answer:

View Image

Explanation:

Import <em>string.h</em> to use <em>strcat()</em>.

Create a buffer to store user input and the returned string value.

You need to return a string so the function must be a pointer of type char.

You need to use the function <em>strcat()</em> to concatenate the two strings together. It's not easy as python where you can just add strings together.

You might be interested in
The font size on presentation slides should not be smaller than _____ -point.
fredd [130]
The font size should not be smaller than 24 points.
3 0
4 years ago
Read 2 more answers
Which of the following is a malicious program that can replicate and spread from computer to computer?
Marina CMI [18]
An email, duh!

lol j.k def not email, it is a virus.

a trick to remembering this is that a virus can make you and computer sick. 

5 0
4 years ago
Read 2 more answers
Create a linked list for library patrons. Put at least 8 patrons in the list. (You should hard code this data.) Ask for a person
Evgesh-ka [11]

Answer:

Explanation:

#include <bits/stdc++.h>

using namespace std;

/* Link list node */

class Node

{

public:

string Name;

long Library_card_number;

string Street;

string City;

long Zip;

Node* next;

};

/* Given a reference (pointer to pointer) to the head

of a list and an int, push a new node on the front

of the list. */

void push(Node** head_ref,string name,long lcn,string street,string city,long zip)

{

/* allocate node */

Node* new_node = new Node();

/* put in the key */

new_node->Name = name;

new_node->Library_card_number = lcn;

new_node->Street = street;

new_node->City = city;

new_node->Zip = zip;

/* link the old list off the new node */

new_node->next = (*head_ref);

/* move the head to point to the new node */

(*head_ref) = new_node;

}

/* Checks whether the value x is present in linked list */

Node* search(Node* head, string x)

{

Node* current = head; // Initialize current

while (current != NULL)

{

if (current->Name == x)

return current;

current = current->next;

}

return NULL;

}

/* Driver program to test count function*/

int main()

{

/* Start with the empty list */

Node* head = NULL;

int x = 21;

/* Use push() to construct below list

14->21->11->30->10 */

push(&head, "Joe",1,"hippy Street","Bay area",2009);

push(&head, "Marie",2,"lippy street","san jose",2010);

push(&head, "Harry",3,"gippy Street","Bay area",2009);

push(&head, "Ashish",4,"dippy street","san jose",2010);

push(&head, "Zuck",5,"sippy Street","Bay area",2009);

push(&head, "Gates",6,"kippy street","san jose",2010);

push(&head, "Page",7,"pippy Street","Bay area",2009);

push(&head, "Brin",8,"dippy street","san jose",2010);

string name;

cout<<"Enter name of the person to search: ";

cin>>name;

Node* z = search(head,name);

if(z!=NULL){

cout<<"\nPerson found in the list"<<endl;

cout<<"Name: "<<z->Name<<endl;

cout<<"Library Card Number: "<<z->Library_card_number<<endl;

cout<<"Street: "<<z->Street<<endl;

cout<<"City: "<<z->City<<endl;

cout<<"Zip: "<<z->Zip<<endl;

}else{

cout<<"No person found with the name "<<name<<endl;

}

return 0;

}

7 0
3 years ago
Suppose your SOHO network connects to the Internet using cable modem. When you open your browser and try to access a web site, y
pantera1 [17]

Answer:

a) you must identify your operating system. Follow the instructions of your operating system.

b) Delete the browsing history in Internet Explorer, follow these steps:

Start Internet Explorer from the desktop.

Press Alt to display the menu bar.

On the Tools menu, click Internet Options.

Select all the checkboxes then click Remove.

Explanation:

Restart Internet Explorer and try it.

5 0
4 years ago
Guess The Song
WARRIOR [948]
The ABC’s is the song
8 0
3 years ago
Read 2 more answers
Other questions:
  • A student dissolves some solid sodium hydroxide in a beaker of water.
    5·2 answers
  • What state yall be livin in?
    15·2 answers
  • What are the tasks of a doc file
    15·1 answer
  • Which type of navigation involves multiple frames that are linked to a number of other frames?
    8·2 answers
  • Write code that prompts for three integers, averages them, and prints the average. Make your code robust against invalid input;
    7·1 answer
  • Which options are available when a business creates a new theme? Check all that apply.
    12·1 answer
  • Two types of formulas in Excel, what are they? A. Complex and simple, B. General and currency, C. Logical and Boolean, D. Trig a
    15·1 answer
  • III. FILL-IN THE BLANK (five points each)
    14·1 answer
  • Can you sue someone in brainly? How is this not relate to education?
    5·1 answer
  • If you know the unit prices of two diffferent brands of an item,you are better able to
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!