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
Degger [83]
2 years ago
12

Print a message telling a user to press the letterToQuit key numPresses times to quit. End with newline. Ex: If letterToQuit = '

q' and numPresses = 2, print:Press the q key 2 times to quit.Sample program:#include int main(void) { char letterToQuit = '?'; int numPresses = 0; return 0;}
Computers and Technology
1 answer:
LekaFEV [45]2 years ago
3 0

Answer:

#include <stdio.h>

int main(void) {

char letterToQuit = '?';

int numPresses = 0;

printf("Press the %c key %d times to quit ", letterToQuit, numPresses);

return 0;}

Explanation:

in print statement %c is replaced by value of  variable 'letterToQuit'and %d is replaced by value of variable 'numPresses'

You might be interested in
The Integers 10, 30, 20 are inserted in that order, into an AVL Tree. Which sequence of commands will make the correct method ca
mel-nik [20]

Answer and Explanation:

After inserting the integers "10", "30" and "20" in an AVL tree, It looks like:

This tree is not balanced. So, to balance this tree, we have to follow some steps:

Step 1 :

After following the LR (Left rotation), Tree will look like:

Step 2 :

Now, following the RL (Right rotation), we will get a balanced AVL tree like:

4 0
3 years ago
These data provides the responses of 10 students in class A and in class B who were asked how many hours they slept lastThese da
dmitriy555 [2]

Answer:

Answer C

Explanation:

Class A Median: 4, 5, 6, 6, 7, 7, 7, 7, 8, 8

The Median of Class A is 7.

Class B Median: 5, 6, 6, 6, 7, 7, 7, 8, 8, 9

The Median of Class B is 7.

Class A Mean: 4 + 5 + 6 + 6 + 7 + 7 + 7 + 7 + 8 + 8 = 65

To find the mean, you add all of the numbers together, and divide the total by the amount of numbers. (There are ten numbers in the equation, so we divide 65 by 10.)

65/10 = 6.5, This means that the mean of Class A is 6.5

Class B Mean: 5 + 6 + 6 + 6 + 7 + 7 + 7 + 8 + 8 + 9 = 69

Do the same thing as last time, divide 69 by 10. (6.9)

The mean of class B is 6.9

Answer A and B are both incorrect, because the medians for both classes were the same.  Answer C is correct, because the mean of class B was 6.9 and the mean of Class A was 6.5

Answer D is also incorrect, 6.9 is 0.4 greater than 6.5

Solved by Inspire! (14 years old)

3 0
2 years ago
An IT company has a HealthCare application with data security requirements such that the encryption key must be stored in a cust
babunello [35]

The S3 encryption, <u>Server-Side Encryption with Customer-Provided Keys (SSE-C)</u>, allows the company to leverage Amazon S3 for storing data with given constraints.

What do you mean by S3 encryption?
S3 encryption <u>encrypts your </u><u>data </u><u>when it is written to disks in its </u><u>data </u><u>centers at the </u><u>object </u><u>level and decrypts it for you when you </u><u>access </u><u>it.</u> There is no distinction between accessing encrypted or unencrypted items as long as you authenticate your request and you have access permissions.

S3 encryption<u> </u><u>encrypts an item before saving it to disk when you use server-side </u><u>encryption</u><u>; the </u><u>object </u><u>is then decrypted when you download the object</u>. S3 encryption lets you safeguard the data you store in AWS S3 buckets online, which is crucial for sensitive data.

To learn more about S3 encryption, use the link given
brainly.com/question/9979590
#SPJ4

4 0
11 months ago
How do I go to files in Brainly I need help
Lyrx [107]

Answer:

There should be a little icon at the bottom of your question box/answer box. It looks like a paper clip. click it and boom

Explanation:

4 0
3 years ago
Software that interprets commands from the keyboard and mouse is also known as the ​
Luda [366]

Answer:

THE OPERATING SYSTEM (OS)

Explanation:

6 0
3 years ago
Other questions:
  • Image below please help
    9·1 answer
  • Which of the following is a full selector?
    12·1 answer
  • You often insert your company's logo into documents you create. One way to make it easier for you to quickly insert it is to sav
    10·1 answer
  • Which of the following might indicate a source on the internet is NOT reliable?
    6·1 answer
  • Computer program allowing the computer to communicate<br> with a hardware device
    13·1 answer
  • Find two consecutive even integers such that twice the smaller is 16 more than the larger
    10·1 answer
  • Llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
    7·1 answer
  • In PowerPoint online what can you add to your presentation from the insert tab
    8·2 answers
  • Features of Python are *
    9·1 answer
  • Select the correct answer.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!