What is wrong with this case statement -> case 2:
A. cases must be capitalized
B. cases must use a ; and not a :
C. nothing

Answers

Answer 1

Answer:

C: Nothing

Explanation:

Assuming this case is acting upon a switch on an integral value, there is nothing wrong with this case header.

var x = 10;

switch (x)

{

case 2:

     Console.WriteLine("The value of 'x' is 2!");

}


Related Questions

state four input device that are used for playing gaming programs​

Answers

Answer:

Mouse, Keyboard, Headphones, Charger.

Explanation:

These can be plugged into the computer for gaming and other uses.

Answer:

mouse

joystick

keyboard

headset

Explanation:

A few more examples : a gaming keypad and a microphone

What is software engineering? What are the objectives of software engineering?

Answers

Answer:

The basic objective of software engineering is to develop methods and procedures for software development that can scale up for large systems and that can be used consistently to produce high-quality software at low cost and with a small cycle of time.

Explanation:

compare the results of both the RATS and Skipfish reports.

Answers

Answer:

The results of both reports RATS is known nas mouse and skipfish is known as one type of fish

I want a loyal girlfri,end​

Answers

Answer:

go to dating app

Explanation:

Give an implementation of the abstract data type of a priority queue of integers as an
ordered list using the SML syntax (ML functor). Given the following:

type Item
val > : Item * Item -> bool

Answers

We can use the code for IntPQ to implement the priority queue construction:

functor PQUEUE(type Item  

              val > : Item * Item -> bool  

             ):QueueSig =  

struct  

   type Item = Item  

   exception Deq  

   fun insert e [ ] = [e]:Item list  

     | insert e (h :: t) =  

       if e > h then e :: h :: t  

                else h :: insert e t  

   abstype Queue = Q of Item list  

   with  

       val empty          = Q []  

       fun isEmpty (Q []) = true  

         | isEmpty _      = false  

       fun enq(Q q, e)    = Q(insert e q)  

       fun deq(Q(h :: t)) = (Q t, h)  

         | deq _          = raise Deq  

   end  

end;

What is SML?

The capital asset pricing model (CAPM), which displays varying levels of systematic, or market risk, of various marketable securities plotted against the projected return of the entire market at any one time, is represented graphically by the security market line (SML), a line drawn on a chart.

The supplied predicate, which we consider to be a total ordering, can be used as the priority order in a priority queue. The end result is a structure with a new type for the queue and a number of operations that work with it. We create a new structure from a group of types and values (a structure), and we represent this creation as an ML functor. A functor takes a structure and produces a new structure, much as how a function takes a value and makes a new value. To accomplish the formation of the priority queue, we can utilize the IntPQ code.

Learn more about SML here https://brainly.com/question/15901527

#SPJ10

How are charts useful in Excel worksheets? Name three types of charts available in Excel and describe with an example how each might be used. What are some things you can do with a chart to make the information clearer to a reader? What are some things you can do with a chart to make it more visually appealing?

Answers

Answer:

Spread sheets

Explanation:

Charts are employed to display series of numeric data in a graphical format to help people understand large amounts of data and the relationships between them.

What is a worksheet?

A worksheet is a sheet that is used as a guide in doing some work to make preliminary plans, supplementary computations, notes, or comments.

Charts are used to display a series of numeric data in a graphical format in order to help people understand large amounts of data and their relationships.

Good graphs allow for precise estimation of the quantities represented. The reader must understand the scale used to represent quantity on the graph in order to estimate quantities.

Create your graph with as few elements as possible. Color can help distinguish data sets in a graph, but avoid glaring color combinations (such as chartreuse and violet), as these can be distracting.

Vertical bars are used to describe information in column charts. They can work with a wide range of data, but they are most commonly used for information comparison. Line charts are excellent for displaying trends.

Thus, by using some things like this, one can make charts clearer.

For more details regarding worksheets, visit:

https://brainly.com/question/13129393

#SPJ2

which is an example of analog d


evice​

Answers

Answer:

crt (cathode ray tube) vcr (video cassette recorder)

Explanation:

I have been stuck on this lab this is my program.

Given four values representing counts of quarters, dimes, nickels and pennies, output the total amount as dollars and cents.

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print(f'Amount: ${dollars:.2f}')

My program:
quarters = int(input("Quarters: "))

dimes = int(input("Dimes: "))

nickels= int(input("Nickels: "))

pennies= int(input("Pennies: "))

dollars = (quarters * 0.25 + dimes * 0.10 + nickels * 0.05 + pennies * 0.01)

print("Amount: ${:.2f}".format(dollars))


not sure why my answer is for wrong.

my output is: (with input)
1

2

3

4

Quarters: Dimes: Nickels: Pennies: Amount: $1.41

expected out put is : Amount: $1.41

What about my code adds the extra part to my answer?

Answers

They are using the knowledge of computational language in python to write the values ​​of the coins and the total we find that

Writing code in python      

quarters = int(input())

dimes = int(input())

nickels = int(input())

pennies = int(input())

cents = (quarters*25 + dimes*10 + nickels*5 + pennies)

#convert cents to dollars

# 1 dollar = 100 cents

# n cents = n/100 dollars

dollars = cents / 100.00

#Print the amount in dollars upto two decimal places

print("Amount: $"+"{:.2f}".format(dollars))

See more about python at brainly.com/question/18502436

#SPJ1

When an AC voltage is being measured
across a 15-ohm resistor which is carrying
a current of 12 amps,
the selector switch should be set to the AC voltage position of __volts.
A. 1000 B.2 C. 20 D. 200

Answers

Answer:

D.

200

Explanation:

codehs 8.2.5 spell it out pls help

Answers

The answer is not here, so you should look down↓:

Explanation:

The programming question requires that we write a function that takes a string and returns every character in it but the first character.

The function in Python, where comments are used to explain each line.

This defines the function too.

This returns every character in the string except the first one.

What are three benefits of sharing on social media?

Answers

Answer:

reach more organization

get viral to whole entire nation

it also enhance to people's knowledge and quatable understandment

The TCP\IP protocol was invented by who

Answers

Answer:

The TCP protocol was invented by Bob Kahn, Ray Tomlinson and Vint Cerf.

Explanation:

Answer:

Vint Cerf ,Bob Kahn and Ray Tomlinson

The commented line states that I have assigned a 2D array to a pointer but I want array of such pointers which could store numbers of 2D Array.

Answers

It is impossible to store numbers or contents of 2D array to a pointer array.

How to store pointers in 2D Arrays?

Arrays and pointers are different data structure elements, and there is a limit to the operations that can be performed on both.

Having said that, it is impossible to store numbers or contents of 2D array to a pointer array.

The closest you can do, is to use the following declaration:

int *p[] = {(array-type [][number of columns]) {Array-content}}

Read more about arrays and pointers at:

https://brainly.com/question/17355709

#SPJ1

Answer:

Get the element => *( (int *)aiData + offset ); calculate offset => offset = (1 * coloumb_number)+ 2); Add offset in array base address => (int *)aiData + offset; //here typecast with int pointer because aiData is an array of integer Get the element => *( (int *)aiData + offset );

The Electronics Communications Privacy Act allows the government to have access to....?

Answers

Personal information like who the person is, what they do, and where they go are the information that can be accessed by the government under the Electronics Communications Privacy Act.

What is Electronics Communications Privacy Act?

Electronic Communications Privacy Act allows the government to have the authority to the suspicious activity that takes place at social sites or through the use of electronic devices.

The unlawful acts and issues are overseen so that any violent circumstances do not arise. The data is provided through networking sites, cell phone providers, etc.,

The suspicious and unlawful activities are tracked through the electronic device that allows the government to keep track of the activities that can be a threat to them and the country.

Therefore, the act allows the government to track personal information which is unlawful and unauthorized.

Learn more about Electronics Communications Privacy Act here:

https://brainly.com/question/3773028

#SPJ1

Which of the following is an antivirus software?
McAfee
Mozilla Firefox
Windows Firewall
Y2K

Answers

Answer:

McAfee

Explanation:

An antivirus is a standalone software that protects other software. On the other hand, a Firewall is capable of preserving both software and hardware on the network.

The antivirus software is McAfee. The correct option is A.

What is antivirus software?

An antivirus program detects and removes viruses and other types of malicious software from your computer or laptop.

Malicious software, also known as malware, is code that can harm your computers and laptops, as well as the data they contain.

Antivirus software is needed even though if persons are using a Mac or a Windows device, both of which encompasses some level of virus protection.

Install third-party antivirus software for total protection, including endpoint protection and response, as well as protection against malware and potentially unwanted programs.

Antivirus software scans your files and incoming email for viruses and deletes any that are found. McAfee, Norton, and Kapersky are examples of anti-virus software.

Thus, the correct option is A.

For more details regarding antivirus software, visit:

https://brainly.com/question/23845318

#SPJ2

43
What are several examples of fictional photography?
O A
celebrity, fashion, glamour
OB.
nature, sports, life
OC. military, propaganda, commercial
OD. corporate, scientific, police
Reset
Next

Answers

Answer:

c

Explanation:

I think A for sure it shows everything I could think of in fictional photography

in tabular form differentiate the first four generations of computer ​

Answers

Answer:

Explanation:

See attachment.

What is used for risk response control?

Answers

Answer:

Risk response control uses methods such as mitigate, avoidance, shift, actively accept, and passively accept.

Explanation:

Risk Response Control refers to the procedure of evaluating residual risks, detecting new risks, guaranteeing the execution of risk plans, and assessing the success of the plans in decreasing risk is known as risk response control. Whereby the risk response control techniques include acceptance, avoidance, transfer, and mitigation

Why do we need to connect computers"​

Answers

Answer:

batteries cant last connected to nothing forever probably

How might the design be changed so that additional copies of print statements would not be needed?

Answers

A design be altered so that additional copies of print statements would not be needed by changing the format spring.

What is the aim of a print statement?

The PRINT statement is known to be often sent data so that it is taken to the display terminal or to another kind of print unit.

Note that A design be altered so that additional copies of print statements would not be needed by changing the format spring.

Learn more about design from

https://brainly.com/question/1020696

#SPJ1

prove that A + ĀB = A + B using 1) boolean basic laws and 2) truth table​

Answers

Answer:

projects of sums or POS Boolean expectation may also be generated from two tables quite easy divide determining which rows of the table have and output of zero writing on some term for each row and final multiplying all the some terms this creates a bowler expression representing the truth table as whole

Explanation:

helpful

Use pseudocode to write a function or procedure that will find the maximum of three numbers a, b, and c.

Answers

Answer:

Check if a > b

   if true -> check if a > c

        if true -> a has the maximum value

        if false -> c has the maximum value

   if false -> check if b > c

        if true -> b is the maximum

         if false -> c is the maximum

Explanation:

To find the maximum, you need to find the largest number.

This can be done by making multiple nested if-statements, comparing 2 variables and finding which one is larger.

Predicate Logic The following is a snippet of pseudocode designed to produce an array (similar to a matrix). The variables m and n are integer variables and the variable A is a two-dimensional array with 10 rows (indexed from 1 to 10) and 8 columns (indexed from 1 to 8). \array.pas\ For m:=1to * 10do For n:=1to * 8do forall m bullet forall n bullet A[m, n]in mathbb Z . (d) The entries in each row of the array A are sorted into strictly decreasing order. You will also be asked to decide whether each statement is True or False. For example, the above statement is True. As an example, the statement "All entries in the array A are integers." can be expressed as (e) Some of the entries of the array A are greater than 30. (b) All entries in the array A are positive and less than 70. 1. Express each of the statements below in predicate logic. (a) All entries in the array A are positive. In the code above, A[m.n] refers to the entry in row m and column n Your task is to express the various statements bel

Answers

The answer is A are greater

What is the difference between a status bar, title bar, and tabs?

Answers

Answer:

Status Bar: a horizontal window at the bottom of a parent window in which an application can display various kinds of status information. The status bar can be divided into parts to display more than one type of information. The following screen shot shows the status bar in the Microsoft Windows Paint application.

Title Bar: horizontal bar at the top of a window, bearing the name of the program and typically the name of the currently active document.

Tabs: a tab is a clickable area at the top of a window that shows another page or area

Which of the following best describes a hotspot as
used in the Action feature of PowerPoint?

an image containing visible hyperlinks
O an invisible hyperlink embedded in a slide
O
a feature that converts presentations to
documents
a feature that allows you to present a slide to
people located remotely

Answers

A statement which best describes a hotspot as used in the Action feature of PowerPoint is: B. an invisible hyperlink embedded in a slide.

What is a hotspot?

A hotspot can be defined as a visual effect that can be applied in Microsoft PowerPoint to content on a slide, so as to make elements (objects) interactive with the end users.

This ultimately implies that, an invisible hyperlink embedded in a slide is a statement which best describes a hotspot as used in the Action feature of PowerPoint.

Read more on PowerPoint here: https://brainly.com/question/26404012

#SPJ1

Answer:

It's B

Explanation:

i got it right on edg 2023

what two QuickBooks Online payroll subscription levels include QuickBooks time

Answers

The two QuickBooks Online payroll subscription levels include QuickBooks time are:

Online Payroll Premium Elite subscription

What is this about?

QuickBooks Time mobile access is known to be commonly made up of one's QuickBooks Online Payroll Premium and also one's QuickBooks  Elite subscription that is said to be given at no additional cost.

Therefore, The two QuickBooks Online payroll subscription levels include QuickBooks time are:

Online Payroll Premium Elite subscription

Learn more about QuickBooks from

https://brainly.com/question/24441347

#SPJ1

Why do you guys the internet who are planning to be Information technology technician?

Answers

Answer:

The biggest advantage of choosing information technology for a career is that it has a very low cost of education as compared to many other career choices. You don't need a 4-year degree to become an I.T. professional. Instead, you can get quick training to be certified in specific areas of Information Technology.

Which loop structure always uses a semicolon after the test condition?
A. for
B. do-while
C. while

Answers

Answer:

I would have to go with A

Explanation:

It could be B, but I'm going with A because of the fact that right after the condition, there is a semicolon, whereas for the do-while loop, the semicolon comes after the )

Syntax:

// For loop

for (int i = 0; i < 10; i++)

{

// Body

}

// Do-while

int i = 0;

do

{

i++;

// Other code

} while(i < 9); // We do i < 9, because by the time we get to the condition, i = 10, because the increment happens before the condition is checked

Answer:

do-while

Explanation:

syntax:

do {

//the statements;

} while(the condition is true);

In the other two types of loops, you can put a semicolon after the condition, but it signifies the end of the statement (e.g.  for loop, it will mean end of for statement and it's body will have no meaning)

A square QR code contains 40×40 tiny squares (pixels) where each tiny square represents a 0 or a 1. Calculate how many bytes of data can be stored on the QR code​

Answers

Answer:

Explanation:

QR Codes are made of multiple rows and columns. The combination of these rows and columns makes a grid of modules (squares). There can be a maximum of 177 rows and 177 columns which means the maximum possible number of modules is 31,329. With the eye, these are just small squares and mean very little, but the exact arrangement of those modules allows the QR Code to encode its data. This means that, unlike traditional barcodes which are 1 dimensional and use 1 row of lines, QR Codes use 2 dimensions which allows them to store a lot more data in the same area of space.

program that initialises a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading”.

Answers

A program that initializes a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading” are the usage of namespace std;int main().

What is a vector software program?

Vector images software program permits customers to layout and manages pc photos the usage of geometric and mathematical commands, instead of clicks and strokes as utilized in drawing software program. Vector photos created the usage of those applications may be scaled indefinitely with out dropping quality.

#include #include #include the usage of namespace std;int main(); vector::iterator it; for (it = vs.begin(); it != vs.end(); it++) string tmp; while (cin.get()!='n') for (it = vs.begin(); it != vs.end(); it++) }

Read more about the vector :

https://brainly.com/question/25705666

#SPJ1

Other Questions
PLEASE HELP!!!!!!!!! When only type is used, a trademark is called a ________ What makes up muscle tissue?organismsorgan system'sorgansO cells Sample I is the cute little golden cube embedded in this metamorphic rock called a greenschist. This perfect little cube crystallized in this rock during the metamorphic process. If you were not a trained geologist, this mineral might fool you into thinking that it is gold because it is often called "fool's gold." What mineral is it? In a train timetable, in order to estimatearrival and departure time, read thetimes from Beneficial micro-organisms that are responsible for breaking down organic matter are called?. Base of a prism is a right triangle with legs 3 feet and 4 feet. The height is 13 feet , what is the volume? name this country that suffered the horrific effect of an atomic bomb during ww2 The poet Robert frost appreciated the mant literary honors the best placement for sentence 12 within the third paragraph would be I need help with number 10 and I'm not sure if a or b is correct either. How many dogs were in the sample? if a victim refuses first aid treatment, the first aid responder should Hi,i need this hurry and correctly please!!!,fake answers i report you.Thanks. The presence of a midpoint will result in what type of segments? 1. At which point do Line CF and Line GF intersect? They intersect at point? 2. Look at Line AD and Like BE. Do these lines intersect? (a) yes they will intersect at Point F? (b) no they will never intersect?(c) yes they will point at Point G(d) yes they will intersect at Point F? 3. Look at Line BG and Line AC. Where do they intersect? They intersect at Point? (Please hurry giving 50 points!) If f(x) = 2x^2+3 and g(x)= 5x, evaluate the following: a. f(g(x)) b. g(g(3)) c. g(f(-2)) Unlike the ancient Greek system of democracy, American democracy __________.A) uses a system of representativesB) does not allow women to be citizensC) is based on the tyrant-run government of city-states which statement accurately summarizes the impact of the roe v. wade (1973) decision? choose 1 answer: choose 1 answer: 2. analyze the data you gathered about the number of births in the united states in 2011. a. what do you observe about michigan and florida? justify your conclusion by using the cartogram. (5points) b. there were 4,008,000 births in the united states during 2011. what proportion of all national births are accounted for by michigan? what proportion of all national births are accounted for by florida? (5 points) c. suppose a person born during 2011 in the united states is chosen randomly. is the person more likely to have been born in florida or michigan? explain. (5 points) d. the population of the united states was 308,745,538 in 2011. there were 18,801,310 people in florida and 9,883,640 people in michigan. compute the probability that a randomly selected us resident in 2011 was living in florida. do the same for michigan. which is greater? (5 points) e. the number of births in a region depends mostly on population size. there are also random fluctuations and regional differences. consider your answers about populations and birth rates. are your answers consistent with this fact? (5 points) I can't find the answer to this question anywhere! read the following anecdote and identify the prepositional phrases: nathaniel hawthorne's son, julian, was also a writer, and father and son were frequently mistaken for each other. "oh, mr hawthorne, i've just read the scarlet letter, and i think it's a real masterpiece," gushed a lady to whom julian hawthorne had just been introduced. "oh, that," said julian, shrugging modestly, "that was written when i was only four years old."