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
slamgirl [31]
3 years ago
7

In C coding, mad libs are activities that have a person provide various words, which are then used to complete a short story in

unexpected (and hopefully funny) ways.
Write a program that takes a string and an integer as input, and outputs a sentence using the input values as shown in the example below. The program repeats until the input string is quit and disregards the integer input that follows. Assume the input string does not contain spaces

Ex: If the input is:

apples 5
shoes 2
quit 0
the output is:

Eating 5 apples a day keeps you happy and healthy.
Eating 2 shoes a day keeps you happy and healthy.

#include
#include

int main(void) {
char userString[50];
int userNum;

/* Type your code here. */

return 0;
}
Computers and Technology
1 answer:
OlgaM077 [116]3 years ago
8 0
Umm You should have put this in writing
You might be interested in
Sorting an Array of Clocks Displaying in a GUI/Creating a Class Create a class called Clock to represent a Clock. It should have
Irina-Kira [14]

The answer & explanation for this question is given in the attachment below.

Download docx
8 0
3 years ago
How has the used of computers and advances in technology changed the healthcare industry
mestny [16]
In many, many ways. Here's some things you can talk about:

•Previously we stored patient data by hand on paper. Now we use computers to store it. This is better because what if we accidentally lost/destroyed the papers or it burned down? With computers this risk is minimised.

•We can now diagnose patients with problems with much more precision thanks to advances like MRI scanning, CT scans, and X-rays. This means we can pinpoint problems rather than guess what’s wrong.

•Prescriptions for medicine can now be arranged online and delivered to your door in some areas, whereas previously you would have to walk in and get the medicine which could be time consuming.

•We now have phones to dial 911 for emergency ambulance services. This has revolutionised how quickly responders can respond to life threatening events.

There’s much more to talk about, but all of the points above are a sold start.
4 0
3 years ago
24 3 Ans a. Define the term computer hardware. b. C. What are input devices? List any two input devices. What is processing devi
marysya [2.9K]

Explanation:

hardware are the physical parts of the computer which can be touched seen and felt is called hardware.

the device which are use to inter data and instructions from the user is clawed input device. foreg; keyboard , mouse.

the processing device of computer is cpu

the printed information which can be touched and seen is Called hardcopy .

soft copy are which can be seen but not touched is called soft copy .

the device that are use to store data and instructions is called storage devices.

8 0
1 year ago
Steven is an advertising executive at a large auto parts company. He uses his google ads recommendations page to help him with s
lana [24]

Answer:

Apply recommendations across the multiple layers of his advertising strategies.

Explanation:

In the given statement, Steven is an employee of an organization of auto parts and he uses own google advertisement page for the purpose of strategies to make perfect he owns advertisement campaigns for the google search. He values the scores of the optimization because Steve applies charge over the different layers of his ads strategies.

4 0
3 years ago
The result or product of a process is called _____.
marissa [1.9K]
It would have to be output
6 0
3 years ago
Read 2 more answers
Other questions:
  • Write a program that reads a list of words. Then, the program outputs those words and their frequencies. The input begins with a
    13·1 answer
  • The most direct way for jonathon to gain on-the-job experience and earn money while attending school is to apply for:
    5·2 answers
  • Dell's original business strategy was to only sell custom-built computer systems directly to customers. Dell now sells to major
    6·1 answer
  • John would like to move from the suburbs into the city, but the rent in the city is very high. John has found an apartment he re
    13·1 answer
  • When you select the data range for a pie chart, you should be sure to include the total cell on the worksheet?
    13·1 answer
  • If you wish to include a header or footer on all pages in a publication, you will need to insert this by navigating to the _____
    11·2 answers
  • You can minimize the Ribbon with a command contained on the _____.
    7·1 answer
  • Write the definition of a function isSenior, that receives an integer parameter and returns true if the parameter's value is gre
    13·1 answer
  • PERGUNTA 1
    15·1 answer
  • A potential customer wants to find out how blockchain can benefit their company and why they should use Accenture’s Multi-party
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!