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
Eduardwww [97]
3 years ago
13

Given a char variable c that has already been declared, write some code that repeatedly reads a value from standard input into c

until at last a 'Y' or 'y' or 'N' or 'n' has been entered.
Computers and Technology
1 answer:
Dvinal [7]3 years ago
6 0

Answer:  

The code to this question as follows:  

Code:  

do{ //do-while loop  

cin >> c; //input value from user.  

}while (!(c == 'Y' || c == 'y' || c=='N' || c == 'n')); //check condition.  

Explanation:  

The description of the code as follows:  

  • In this code, we use a do-while loop. It is an exit control loop. In the loop, we use the char variable that is "c" this variable is used for user input. End of the loop we define the condition that is variable c value is not equal to "y", "Y", "n" and "N".  
  • In the loop, we use OR operator that means if any of the above conditions is match it will terminate the loop.  

You might be interested in
Soft skills are similar to personality traits like being compassionate, having patience, and working well in groups.
ikadub [295]

The answer is A. True


Because soft skills are:

1) Good communication skills

2) Team work

3) Positive attitude

4) Self confidence

5) Ability to learn from criticism

6) problem solving skills

7) patience

8) leadership quality


I hope the answer is clear

8 0
4 years ago
Read 2 more answers
The AND operator is a disjunction and the OR operator is a conjunction.
qwelly [4]

Answer:

True but it might be false but i think is true

8 0
3 years ago
The computers in the administrative offices of the four schools throughout the district are networked to enable employees to acc
muminat
These computers in administrative offices or schools throughout the district that are networked to each other has the type of network most likely used by the workers is LAN network. Usually LAN networks are used in small offices or rooms.
3 0
4 years ago
Choose all items that represent features of the job application process
oksano4ka [1.4K]

Where are the Options

6 0
3 years ago
A cloud service provider uses the Internet to deliver a computing environment for developing, running, and managing software app
MakcuM [25]

The answer is PaaS (Platform as a Service)  

PaaS provides users with a cloud runtime environment in which they can develop, test, manage, and deliver applications. Users are able to use a suite of pre-built tools to develop and test their own apps. Thanks to these solutions, developers are able to deploy applications without the need of infrastructures such as servers, operating systems, or development tools.


6 0
3 years ago
Other questions:
  • _____ software is used to play, create, and modify audio and video files.
    6·1 answer
  • Which process is used to protect transmitted data in a vpn?
    12·1 answer
  • What effect can camera tilt create? Do you think this is effective? Why or why not?
    14·2 answers
  • Which area would a Gaming Designer fall under? Research and explain why you think so. Make sure to site your source and where yo
    7·1 answer
  • How do you think calculator of a computer works? describe the procedure.
    7·1 answer
  • The motion of any object can be broken down into it's component (parts of) vectors. true or false
    5·1 answer
  • A ____ is used to perform a forward-only (sequential) access of the data in the data source while a ____ is used to populate a d
    11·1 answer
  • Please Help
    12·2 answers
  • A typical day in programming and software development would involve
    7·1 answer
  • Explain the correct ways of using keyboard. .​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!