why do we use case 1 and case 0 in nested switch statement before writing embedded switch statement

Why Do We Use Case 1 And Case 0 In Nested Switch Statement Before Writing Embedded Switch Statement

Answers

Answer 1

Explanation:

The fundamental difference between if-else and switch statements is that the if-else statement “selects the execution of the statements based upon the evaluation of the expression in if statements”. The switch statements “selects the execution of the statement often according to a keyboard command”.

Have a great day. <3


Related Questions

What app or divice has a filter that you can have blackvalk in real life

Answers

Answer:

look in app store explanation:

look in-app store

i need answer for multiple choice . Someone help me.....pls.....everyone have online?

Answers

Answer:

I believe that your correct answer to that question is C. Logistics Information System. The Logistics subsystem deals with activities such as purchasing, receiving inventory control, and distribution. This concept sometimes requires certain components of the organization to operate sub-optimally in order to achieve the maximum goals of the system.

Explanation:

I got my information for this answer from www.examveda.com. If there are any further questions, please put them below in the comments, and I will try my best to help you out. If not, please have a great rest of your day/night. :)

Networking essentials

Answers

Answer:

Gain the essential knowledge and skills required to configure, troubleshoot, manage and protect a data network.

Explanation:

My computer has been running slow for a few days I’m sure it’s a virus

Answers

Answer:

You try to clean it, dipping it in water 2-3 times will be fine.

Explanation:

ha ha I'm indian boy F...

Answer:

Don't put some water on it it will be break just clean it and tell your parents to fix it if you have a money you can fix it

Does anyone who uses Visual Studios 2022 know what tool name it is for the pop up menu? Do not send me links please.​

Answers

Answer:

The Commands and Menu Bar

Explanation:

Answer:

are u using a laptop? if so click the window botton if u download the visual studio code 2022 if u didnt download it use the search bar at the bottom of your screen "type here to search" and type in visual studio code 2022 and it will show up so click on it.

b) Write a program to update the rate by increasing 10% from a sequential data file "Data.dat" that store item name, rate and quantity​

Answers

The update program is an illustration of the file manipulation processes, where files are read and updated

How to write the program?

The program written in QBASIC, where comments are used to explain each line is as follows:

REM This opens a new file for output

OPEN "NEW.DAT" FOR OUTPUT AS #2

REM This is repeated until the end of the file

WHILE NOT EOF(1)

   REM This inputs the item details

   INPUT #1, N$, R, Q

   REM This updates the rate by 10%

   NEWRATE = R + 10 / 100 * R

   REM This writes the inputs to the file

   WRITE #2, N$, NEWRATE, Q

WEND

REM This closes the files

CLOSE #1, #2

REM This deletes the Data.dat file

KILL "DATA.DAT"

REM This renames the NEW.DAT to the Data.dat file

NAME "TEMP.DAT" AS "DATA.DAT"

REM The program ends here

END

Read more about file manipulation at:

https://brainly.com/question/25324400

Create a file using any word processing program or text editor. Write an application that displays the files, name, containing folder, size, and time of last modification. Save the file as FileStatisits.java

Answers

Answer:

below is a Shell I have ;

1.Import java.nio.file.*;

2.Import java.nio.file attribute.*;

3.Import java.10 Exception;

4.public class FileStatistics

5.{

6.public static void main(string []args)

7.{

8.path file=

9.

paths.get("C:\\Java\\chapter.13\\TestData.txt")

10.try

11.{

12.\\declare count and then display path, file, name and folder name.

13.

14.

15.

16.\\declare a BasicFileAttributes object, then add statements to display the file's size and creation time.

17.

18.}

19.

20.catch (10 Exception e)

21.{

22.\\add display 10 Exception

23.

24.}

25.}

Mr. Hicks is setting up a wiiſed office network for 10 computers. He needs to use a network topology
devices to be added later as required. Which topology should he use?
A. Star
B.tree
C.mesh
D.ring

Answers

Answer:

C. Mesh

Explanation:

Each device will be connected to the other 9 devices, making it the best topology to use.

Hope this helps!

Answer:

STAR

Explanation:

Is hacking always wrong? Creating viruses?

Answers

Answer:

yes

Explanation:

Answer:

Not every “hack” is bad, and not every hacker is a criminal. In fact, many hackers secure websites and companies from malicious actors.

creating viruses is done by negative intention hackers

When purchasing a security program, you must make sure that _____. Select 2 options.

it can be implemented quickly

it can be easily adopted

it hinders operational efficiency

the employees are not involved

it is complex and complicated

Answers

Answer:

1 ans 3

Explanation:

Answer:

- it can be implemented quickly

- it can be easily adopted

Explanation:

When selecting a security program to purchase, you should want to ensure its efficiency. Correct on Edge.

I hope this helped!

Good luck <3

how has education technology evolved in schools over the past years​

Answers

More sophisticated software given to students

what is the answer to 7.4.4: Length of User's Name codehs

Answers

The program that ask the user to type there first name and then print out how many letters that is in there name is as follows:

x = input("what is your first name: ")

y = len(x)

print(f"There are {y} letters in your name")

Code explanation;

The code is written in python.

Firstly, we store the users name in the variable x.Then, we find the length of the users inputted name and store it in a variable y.Finally, we print the length of the users name using the print function.

learn more on python here: https://brainly.com/question/26738945

RAM is like a computer’s ______________, while a hard drive is like a computer’s ______________

Answers

Explanation:

RAM is what the computer and the applications run on and hard drive is the type of memory all your files and apps are located on

[ASAP!] Which of these can be a problem for people with accessibility issues? Select 4 options.

1. using all uppercase text
2. using left-aligned text
3. putting two spaces after a period
4. flashing images
5. using an image instead of text​

Answers

The answers are:

- Using all uppercase text

- Putting two spaces after a period

- Flashing images

- Using an image instead of text

Proof:

Using full capital text, inserting two spaces after a period, flashing pictures, and using an image in place of text are all accessibility issues. Options A, C, D and E are correct.

What are the accessibility issues?

When providing access to the product or service, the following accessibility concerns must be taken into account:

Visual problems including color blindness or poor vision.Similar to photosensitive epilepsy, seizures.Mobility or motor problems, such as those of wheelchair users.

Making information, activities, and/or surroundings understandable, relevant, and useable for as many individuals as feasible is the practice of accessibility. Architectural design is a typical instance of accessibility that we have all probably seen.

Accessibility concerns include utilizing all capital letters, adding two spaces after a period, flashing images, and replacing text with an image.

Therefore, option A, C, D and E are correct.

Learn more about the accessibility issues, refer to:

https://brainly.com/question/17351493

#SPJ2

how do you create 2 dimensional array with c++?

Answers

2 dimensional arrays in C++ are arrays that have 2 dimensions i.e. rows and columns

How to create the array?

To create a 2-dimensional array in C++, you make use of the following syntax

data_type array_name[rows][columns];

Assume the following parameters:

The data type of the array is integerThe array name is StudentsThe array has 10 rows and 20 columns.

The declaration of an array with the above properties would be:

int Students[10][20];

Read more about arrays at:

https://brainly.com/question/22364342

2. Choose four organizations in a particular industry and compare their strategies and analyze how the information system could be used for each organization to gain competitive advantage. 9.1 The first organization should follow the competitive strategy of lower cost across the industry,

Answers

The four organizations in a particular industry (Food industry) are:

Cargill Archer Daniels Midland (ADM) Company Nestle Sysco Corporation

What is Low-cost strategy?

The food industry is one that has been dominated by a lot of big companies. It is competitive in nature and it is advisable to have a Low-cost strategy.

This Low-cost strategy is one that helps the firm to sell its product or its service using a lower price when compared to its competitors as this will help them to have or win a competitive edge in the industry.

Learn more about Food industry from

https://brainly.com/question/11900425

In 1972, earlier designers built the
connecting major universities. The broke
communications into smaller chunks, or
and sent them in a first come, first serve
1
basis. The limit to the amount of bytes of data that can be moved is called line capacity, or
When a network is met its capacity the user experiences
When the
network is "slowing down", what is happening is users are waiting for their packet to leave the
To make the queues smaller, developers created
packets to move
L
1
1
data
:: ARPANET
:: bandwidth
:: packets
:: simultaneously
:: queue
:: mixed
:: unwanted pauses

Answers

The exercise is about filling in the gaps and is related to the History of the ARPANET.

What is the History of the ARPANET?

From the text:

In 1972, earlier designers built the ARPANET connecting major universities. They broke communication into smaller chunks, or packets and sent them on a first-come, first-serve basis. The limit to the number of bytes of data that can be moved is called line capacity, or bandwidth.

When a network is met its capacity the user experiences unwanted pauses. When the network is "slowing down", what is happening is users are waiting for their packet to leave the queue.

To make the queues smaller, developers created mixed packets to move simultaneously.

Learn more about the ARPANET at:
https://brainly.com/question/16433876

help meeeeeeeeeeeeeeeee

Answers

Answer:

The advantages include much access to photos, digital functions like games and contacts with friends, videos, and you can search questions to anything you like. Disadvantages include things like too much screen time affecting sleep, health, and other physical problems. There is also exposure to explicit content and hatred from strangers.

There are hundreds of editing software for you to try, and many are free to use and are even compatible offline. They can make content related to or look like something in a movie or can be used to make things look nicer and cooler.

The IT staff at a hospital shares genetic information about specific patients with a life insurance company. Which ethical standard was violated?

Answers

The ethical standard which was violated by the IT staff at a hospital is: confidentiality.

What is PHI?

PHI is an acronym for protected health information and it can be defined as any form of health information for a patient that mustn't be disclosed without the patient's knowledge, approval (consent) or used for the payment of health care insurance for employees.

This ultimately implies that, it is an ethical standard for all health workers to keep and protect protected health information under normal working conditions because they are confidential in nature with respect to Health Insurance Portability and Accountability Act (HIPAA).

Read more on PHI here: https://brainly.com/question/24439144

A new robot is created to explore volcanoes on other planets. Which robot is
most likely to have been referenced in the design of the new robot?
A. Dante
B. Roomba
C. ASIMO
D. Sophia

Answers

Answer:

A

Explanation: Dante II is a unique walking robot that provides important insight into high-mobility robotic locomotion and remote robotic exploration. Dante's uniqueness stems from its combined legged and rappelling mobility system, its scanning laser rangefinder and its multi-level control scheme.

This is an example of what type of formula? =AVERAGE(D1:D17) A. ADDITION
B.SUBTRACTION C.RANGE D.AVERAGE

Answers

Answer:

d average

Explanation:

average as it already shows it says average

Similarities in off-site and On-site

Answers

Answer:

Off prevents the page from finding your easy search terms; basically what you search for, while On page will help you improve the quality of your newly designed web page.

▬▬▬Casual Terms▬▬▬

Off page means that you are not actively viewing a page; unlike On, it would mean the exact opposite.

▬▬▬Conclusion▬▬▬

I Hope you have a great day!

Answer:

onsite is on or at a site while offsite is away from a mail location in a place not owned by a particular organization.

In C, What is the #line used for?

Answers

The #line is mainly used to reset the line number and also the filename in the code.

What does a line in C mean?

The c in code is written in lower-case. The c that has a line over it means "with".

The C preprocessor is known to be macro processor that is often used often by the C compiler to change one's program before actual compilation. This   #line means that one can do any reset any line of code to an arbitrary line number or a filename that is said to have been stated by the user.

Learn more about code from

https://brainly.com/question/25605883

why are images important in research assignments? A. Because they allow your work to be cited by others B. Because they can illustrate an argument C. Because they are required before having your item published in the library database D. Because they take up more space than words in a document.

Answers

Answer:

C

Explanation:

Everything else does not make sense

Write the pseudocode for the following scenario. The final exam marks for 10 students are 65, 45, 78, 65, 89, 65, 79, 67, 75, and 63. The marks are stored in an array. Find: • The student with the highest mark. • The student with the lowest mark. • The total marks for all the students. • The overall average.

Answers

The pseudocode of the program serves as a prototype of the program

How to determine the pseudocode?

The pseudocode of the program is as follows:

StartDeclare array MARKSInput MARKS[0] to MARKS[9]Sort MARKSPrint MARKS[9] ----- this prints the highest markPrint MARKS[0] ----- this prints the least markFOR I = 0 TO 9; ADD MARK[I] TO TOTALPrint TOTALPrint TOTAL/10Stop

The above pseudocode gets input for the array; then sorts the array before performing the required operations

Read more about pseudocodes at:

https://brainly.com/question/24735155

An IT infrastructure manager is reviewing his company's computer assets, particularly the mean time to failure (MTTF) of the PC and server hard drives. The manufacturer of the hard drives typically used in the company states that the MTTF is approximately 11 years. Because servers and some high-priority workstations must operate continuously except for brief periods of maintenance, how many hours, on average, can these hard drives be expected to operate before failure

Answers

The numbers of  hours, on average, can these hard drives be expected to operate before failure is 24 hours a day, also seven days a week and 365 days a year.

How many hours can Hard drive last?

The total life-time of a hard disk is said to be 5 years" that is about 43,800 hours of been in constant use.

Note that a key  reliability-linked criterion for the selection of storage components is based on its operating duty that is the numbers of  many hours in a day a drive can be active for.

A lot of HDDs used by Enterprise-class applications are said to be optimized for constant use that is 24 hours a day, seven days a week, and 365 days a year.

Note that a Managed Service Provider (MSP) have to plan for a failure in every 1000 hours that is about 42 days.

Learn more about hard drives from

https://brainly.com/question/1558359

What exactly is github?

Answers

GitHub is a code hosting platform for version control and collaboration.

It lets you and others work together on projects from anywhere.

Explanation:

Hope it helps you!!

13. In cell B16, use the SUMIF function and structured references to display the total wins for teams in the Youth league.

Answers

Using the SUMIF function and structured references to display the total wins for teams in the Youth league is gotten as; 65

How to make use of the SUMIF Function?

The SUMIF function in excel combines a condition and a sum of the values which meets the stated condition. That is; SUMIF(row_range, condition)

From the attached image we can see the number of times youth won the league in column D. Also, we can see the total number of youth wins in column H under Total.

Thus, using SUMIF function for the total number of wins, we have;

B6 = SUMIF(SwimTeams[League], "youth",H3:H12

B6 = 21 + 16 + 12 + 9 + 7

B6 = 65

Read more about the SUMIF Function at; https://brainly.com/question/19595606

Examples of ________, which is hosted on a web site, include e-mail, word processing, tax preparation, and game programs.

Answers

Answer:Web Application

Explanation:Web hosting is more or less like having an ordinary computer in the cloud in order share information and resources with others world wide.One cannot make effective use of a computer without software applications . Similarly hosting just normal html pages and documents on a server cannot help increase productivity,hence the creation of cloud computer applications also known as "Web Apps (Web Applications)" to aid boost productivity and information dissemination via quality task automations.

Use Advanced Filtering to restrict the data to only display full-time employees with at least one dependent. Place the results in cell A37. Use the criteria in the range H24:M25 to complete the function.

Answers

Answer:

Click cell H10, and enter an AVERAGEIFS function to determine the average salary of full-time employees with at least one dependent. Format the results in Accounting Number Format. Step 1: Open the excel and go to Insurance worksheet

Other Questions
C + 2H2CH4For the reaction shown here, predict how many moles of methane can be produced from 72 grams of carbon in the presence of excess hydrogen gas.A) 1B) 2C) 4D) 6 X + Y-2 (3X-4Y+3) please simplify this thanks Hello how are you doing today? If x = 9 units , y = 3 units , and h= 11 units what is the area of the trapezoid Topic : Heat1. Why can anyone put their fingers beside the flame of a lit candle without getting burned, but not above the flame?2. What is the purpose of putting holes near the top of a metal lampshade?3. A metal spoon is placed in one of two identical cups of hot coffee. Which cup will be cooler after a few minutes? This figure represents a specialty design for a craft template, made of a square and two identical triangles.What is the area of 4 of these designs?108 cm135 cm432 cm540 cm is the economicsystem where individuals areencouraged to enter themarket.A. CapitalismB. HumanismC. Feudalism Why Do People Use Illegal Drugs? [tex]3\sqrt{10}\ times -6\sqrt{30}[/tex]Due by 12:23 Since the constitution was adopted in the 1780s, how many major parties tend to compete with one another at any given time?. I NEED A ESSAY ON HOW FINGERPRINTS CAN VARY/CHANGE. Ronald runs a small furniture making business. He wants to advertise his business. However, he cannot afford to spend a lot of money onadvertising. He wants to provide customers with details of his business, such as the name, products, store locations, and contact addresses.Which of these advertising vehicles is best suited for Ronald?OA.television.radioO C. newspapersOD. magazines Network Security Fun. > Quizzes > Practice Exam (for midterm: m. Practice Exam (for midterm: mods 1-7)Started: Mar 11 at 2:07pmQuiz InstructionsntsQuestion 211 ptsSean is an information security architect at a financial firm. As his first project, he must design and build anefficient, sure-shot, yet cost-effective solution to Tetect and prevent bank credit card fraud. How should Seanproceed?O Design a solution that is confined to and hardcoded with a specific place and specific time. If the usermales transaction at a different place or time it will be considered an outlier and trigger an alert Choose the set of numbers with an average of 8.A) 3, 5, 7, 8, 12B) 2, 3, 6, 13, 16C) 2, 4, 8, 11, 20 Stretch2. A gym runs two fitness classes, spinning and circuits.On Saturday 100 people visited the gym.18 people attended the spinning class.10 people attended both classes.56 people did not attend either class.a) Represent this information on a Venn diagramSIc 10(3)56A person who attended the gym is selected at random. .Find the probability that this person:b) attended only circuits(2)c) attended exactly one class(2)d) attended spinning, given that they attended circuits. (2) What are the x-intercepts of this conic section?(3, 0) and (3, 0)no x-intercepts(0, 3) and (0, 3)(3, 3) and (3, 3) Can someone draw me two camels wrestling no color and it dont have to be the best In the 1900s, asian immigrants mainly settled in the southwest, while hispanics settled along the east coast. please select the best answer from the choices provided t f Which part of the brain is responsible for decision making, problem solving and planning?. When an object standing on the floor is tipped, the height of its center of gravity (cg) may or may not change. Classify each case as stable, unstable, or neutral