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
WILL MARK BRAINLIEST.....
slamgirl [31]

Answer:

Variables. A variable is a way of naming and storing a value for later use by the program, ... its type, and optionally, setting an initial value (initializing the variable). ... byte x; x = 0; x = x - 1; // x now contains 255 - rolls over in neg. direction

Explanation:

7 0
3 years ago
Over the last ten years, what has caused the audience ratio of three major networks, CBS, NBC, and ABC from 90 percent to 60 per
Goryan [66]
D is your answer good luck
5 0
3 years ago
when you select cells in your worksheet and then click the copy button, what happens? select one: a. the formatting is removed f
Amiraneli [1.4K]
Hey there! Hello!

Not sure if you still need this answer, but I'd love to help out if you do.

In terms if Excel Spreadsheet, your answer will be D. A<span> moving dashed line border appears around the cells. What the copy button does is take the contents in your cell(s) and copies them so that you can paste them elsewhere. B and C would apply here if you were cutting the text, which clears whatever you have selected so that you can paste them elsewhere without having to go back and delete it. 

I have attached an example of what happens to a cell when you either right click it and press copy, or press ctrl/command+c, which is the keyboard shortcut for copying text or contents. 

Hope this helped you out! Feel free to ask me any additional questions if you have any. :-)</span>

4 0
3 years ago
Which of the following peripheral devices can be used for both input and output? mouse touch screen on a tablet computer printer
sp2606 [1]

Answer:

mouse printer CPU touch screen

Explanation:

on a tablet computer hope this helps you :)

3 0
3 years ago
Which two characters do you use to tell the command that you are finished providing options and that the remaining data on the c
sergiy2304 [10]

Answer:

Two hyphen-minus characters (- -)

Explanation:

Using two hyphen-minus characters only, tend to recommend that the rest of the data are arguments and should not be treated as alternatives.

Hence, in this situation, the two characters a user will use to tell the command that a user is complete giving options and that the rest of the data on the command line is arguments is known as "two hyphen-minus characters (- -)"

8 0
3 years ago
Other questions:
  • Why do you think LinkedIn has become so popular?
    6·1 answer
  • At your job, you often have to address letters to the customer support manager, Tyson Kajewski. The problem is that you are cons
    9·1 answer
  • Create an Entity-Relationship Diagram with the following requirements.
    6·1 answer
  • Word processing, presentation, photo editing, and video games are all types of what?
    9·2 answers
  • In 2d design, form makes what possible?
    15·1 answer
  • An image that has been saved in Tagged Image File Format (or .TIF) is A. readable only by Windows personal computers. B. a recto
    6·1 answer
  • ​Lara is the chief editor of "Laughter and Life," an online magazine. Lara has assigned Jenny the task of redesigning the magazi
    5·1 answer
  • In addition to telling you which programs are currently running, what other information does the task bar display
    10·1 answer
  • In which wireless configuration type do nodes communicate directly with each other, rather than with an access point?
    5·1 answer
  • When developing an estimate, which of the following items is typically marked up with the highest percentage rate?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!