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
Jjhb ft fv tuning Denise l Debbie
Vitek1552 [10]
What








What the debbie



7 0
3 years ago
Which of the following items is an example of software? A. WORD PROCESSING PROGRAM B. KEYBOARD C. PRINTER D. MOUSE
Umnica [9.8K]
Well the only one that is actually a piece of programming is A. Word Processing Program. B, C and  D are all peripherals for a computer not actual software for it. Basically if you have to install it on the computer its software. Now B C and D may need software to make them compatible with your computer they themselves dont need to be installed.
8 0
4 years ago
Draw a flowchart to convert 5 kg into gram .​
dlinn [17]

Answer:

Kg to g, multiply by 1000

Therefore, 5 Kg = 5000 gms

Explanation:

5 0
3 years ago
Read 2 more answers
Which sign or symbol will you use to lock cells for absolute cell reference?
ivanzaharov [21]
It's asterisk hope this helped
7 0
3 years ago
Read 2 more answers
What is internet protocol?
Mazyrski [523]
The Internet Protocol (IP) is the method or protocol by which data is sent from one computer to another on the Internet , so basically like sending a email to one another .
8 0
3 years ago
Read 2 more answers
Other questions:
  • When computers connect to one another to share information, but are not dependent on each other to work, they are connected thro
    7·1 answer
  • Create a variable ‘temp’ and assign the value in Celsius. Display the message ‘It’s extremely hot day today!’ if the temperature
    8·1 answer
  • Variables used for output are associated with what controls on a form?​
    5·1 answer
  • Each webpage is assigned a(n) ______, an address that identifies the location of the page on the Internet.
    6·1 answer
  • Which of the following are good uses of a Microsoft Excel spreadsheet? charts payroll newsletters presentations budgets
    12·1 answer
  • What’s the most popular operating system
    9·2 answers
  • Write a program that inputs a time from the console. The time should be in the format "HH:MM AM" or "HH:MM PM". Hours may be one
    6·1 answer
  • Tasked to install additional RAM in a computer. He unplugs the system from the power source and removes the PC cover. What shoul
    15·1 answer
  • When we add suffix L to a integer it is called as __________​
    12·1 answer
  • HELPPP I cand find my sound card/driver on my computer, and I cant hear anything, I have tried to update the audio driver, but w
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!