SlideShare a Scribd company logo
1 of 1
Download to read offline
C Language Problem
There are more than one wrong things I think.
Please Explain Is the following case structure correct? If incorrect - what's wrong? double name;
switch(name){ease 1: break: case 2: break case 3: break: default:}
Solution
Change datatype of "name" to int or change case values to double type
Default keyword should be followed by colon(:)

More Related Content

More from monikajain201

Design a database to store details about U.S. presidents and their t.pdf
Design a database to store details about U.S. presidents and their t.pdfDesign a database to store details about U.S. presidents and their t.pdf
Design a database to store details about U.S. presidents and their t.pdf
monikajain201
 
Chapter 1 - A View of Life and its Chemical Basis. 1. Explain the.pdf
Chapter 1 - A View of Life and its Chemical Basis. 1. Explain the.pdfChapter 1 - A View of Life and its Chemical Basis. 1. Explain the.pdf
Chapter 1 - A View of Life and its Chemical Basis. 1. Explain the.pdf
monikajain201
 
CHOOSE THE CORRECT ANSWER1) PVC Corporation is considering an inv.pdf
CHOOSE THE CORRECT ANSWER1) PVC Corporation is considering an inv.pdfCHOOSE THE CORRECT ANSWER1) PVC Corporation is considering an inv.pdf
CHOOSE THE CORRECT ANSWER1) PVC Corporation is considering an inv.pdf
monikajain201
 
Civil Infrastructure Problems Why the public is not concerned about t.pdf
Civil Infrastructure Problems Why the public is not concerned about t.pdfCivil Infrastructure Problems Why the public is not concerned about t.pdf
Civil Infrastructure Problems Why the public is not concerned about t.pdf
monikajain201
 
Briefly discuss the adaptive changes seen in the chordates over the o.pdf
Briefly discuss the adaptive changes seen in the chordates over the o.pdfBriefly discuss the adaptive changes seen in the chordates over the o.pdf
Briefly discuss the adaptive changes seen in the chordates over the o.pdf
monikajain201
 
Argue in favor or against the following statements (include examples.pdf
Argue in favor or against the following statements (include examples.pdfArgue in favor or against the following statements (include examples.pdf
Argue in favor or against the following statements (include examples.pdf
monikajain201
 
What is the role of sequence numbers in the rdt protocolWhat is t.pdf
What is the role of sequence numbers in the rdt protocolWhat is t.pdfWhat is the role of sequence numbers in the rdt protocolWhat is t.pdf
What is the role of sequence numbers in the rdt protocolWhat is t.pdf
monikajain201
 
Which of the following statements about mitosis is true O a. Mitosis.pdf
Which of the following statements about mitosis is true O a. Mitosis.pdfWhich of the following statements about mitosis is true O a. Mitosis.pdf
Which of the following statements about mitosis is true O a. Mitosis.pdf
monikajain201
 
Which of the following factors would NOT contribute to allopatric spe.pdf
Which of the following factors would NOT contribute to allopatric spe.pdfWhich of the following factors would NOT contribute to allopatric spe.pdf
Which of the following factors would NOT contribute to allopatric spe.pdf
monikajain201
 
What would be the exact Materials and Method for this experiment2.pdf
What would be the exact Materials and Method for this experiment2.pdfWhat would be the exact Materials and Method for this experiment2.pdf
What would be the exact Materials and Method for this experiment2.pdf
monikajain201
 
What are some of the obstacles or barriers to implementing EBP (evid.pdf
What are some of the obstacles or barriers to implementing EBP (evid.pdfWhat are some of the obstacles or barriers to implementing EBP (evid.pdf
What are some of the obstacles or barriers to implementing EBP (evid.pdf
monikajain201
 
Type II hypersensitivity occurs when a.An immediate allergic or ana.pdf
Type II hypersensitivity occurs when  a.An immediate allergic or ana.pdfType II hypersensitivity occurs when  a.An immediate allergic or ana.pdf
Type II hypersensitivity occurs when a.An immediate allergic or ana.pdf
monikajain201
 

More from monikajain201 (20)

EnvironmentalCivil Engineering QuestionWhen chemicals are added t.pdf
EnvironmentalCivil Engineering QuestionWhen chemicals are added t.pdfEnvironmentalCivil Engineering QuestionWhen chemicals are added t.pdf
EnvironmentalCivil Engineering QuestionWhen chemicals are added t.pdf
 
Did Carl Linnaeus incorporate evolutionary thinking in the developme.pdf
Did Carl Linnaeus incorporate evolutionary thinking in the developme.pdfDid Carl Linnaeus incorporate evolutionary thinking in the developme.pdf
Did Carl Linnaeus incorporate evolutionary thinking in the developme.pdf
 
Do you think wood is mechanically homogeneous (i.e. as strong in all.pdf
Do you think wood is mechanically homogeneous (i.e. as strong in all.pdfDo you think wood is mechanically homogeneous (i.e. as strong in all.pdf
Do you think wood is mechanically homogeneous (i.e. as strong in all.pdf
 
Design a database to store details about U.S. presidents and their t.pdf
Design a database to store details about U.S. presidents and their t.pdfDesign a database to store details about U.S. presidents and their t.pdf
Design a database to store details about U.S. presidents and their t.pdf
 
Chapter 1 - A View of Life and its Chemical Basis. 1. Explain the.pdf
Chapter 1 - A View of Life and its Chemical Basis. 1. Explain the.pdfChapter 1 - A View of Life and its Chemical Basis. 1. Explain the.pdf
Chapter 1 - A View of Life and its Chemical Basis. 1. Explain the.pdf
 
CHOOSE THE CORRECT ANSWER1) PVC Corporation is considering an inv.pdf
CHOOSE THE CORRECT ANSWER1) PVC Corporation is considering an inv.pdfCHOOSE THE CORRECT ANSWER1) PVC Corporation is considering an inv.pdf
CHOOSE THE CORRECT ANSWER1) PVC Corporation is considering an inv.pdf
 
Civil Infrastructure Problems Why the public is not concerned about t.pdf
Civil Infrastructure Problems Why the public is not concerned about t.pdfCivil Infrastructure Problems Why the public is not concerned about t.pdf
Civil Infrastructure Problems Why the public is not concerned about t.pdf
 
Cell Structure and FunctionLabel each of the arrows in the followi.pdf
Cell Structure and FunctionLabel each of the arrows in the followi.pdfCell Structure and FunctionLabel each of the arrows in the followi.pdf
Cell Structure and FunctionLabel each of the arrows in the followi.pdf
 
Briefly discuss the adaptive changes seen in the chordates over the o.pdf
Briefly discuss the adaptive changes seen in the chordates over the o.pdfBriefly discuss the adaptive changes seen in the chordates over the o.pdf
Briefly discuss the adaptive changes seen in the chordates over the o.pdf
 
Argue in favor or against the following statements (include examples.pdf
Argue in favor or against the following statements (include examples.pdfArgue in favor or against the following statements (include examples.pdf
Argue in favor or against the following statements (include examples.pdf
 
27. What is a prosthetic group Identify prosthetic groups in the fol.pdf
27. What is a prosthetic group Identify prosthetic groups in the fol.pdf27. What is a prosthetic group Identify prosthetic groups in the fol.pdf
27. What is a prosthetic group Identify prosthetic groups in the fol.pdf
 
What is the role of sequence numbers in the rdt protocolWhat is t.pdf
What is the role of sequence numbers in the rdt protocolWhat is t.pdfWhat is the role of sequence numbers in the rdt protocolWhat is t.pdf
What is the role of sequence numbers in the rdt protocolWhat is t.pdf
 
Which of the following statements about mitosis is true O a. Mitosis.pdf
Which of the following statements about mitosis is true O a. Mitosis.pdfWhich of the following statements about mitosis is true O a. Mitosis.pdf
Which of the following statements about mitosis is true O a. Mitosis.pdf
 
Which of the following factors would NOT contribute to allopatric spe.pdf
Which of the following factors would NOT contribute to allopatric spe.pdfWhich of the following factors would NOT contribute to allopatric spe.pdf
Which of the following factors would NOT contribute to allopatric spe.pdf
 
What would be the exact Materials and Method for this experiment2.pdf
What would be the exact Materials and Method for this experiment2.pdfWhat would be the exact Materials and Method for this experiment2.pdf
What would be the exact Materials and Method for this experiment2.pdf
 
What are the most challenges of wireless networksSolutionThe .pdf
What are the most challenges of wireless networksSolutionThe .pdfWhat are the most challenges of wireless networksSolutionThe .pdf
What are the most challenges of wireless networksSolutionThe .pdf
 
What is particle What is a rigid body What is conservative .pdf
What is particle  What is a rigid body  What is conservative .pdfWhat is particle  What is a rigid body  What is conservative .pdf
What is particle What is a rigid body What is conservative .pdf
 
What are some of the obstacles or barriers to implementing EBP (evid.pdf
What are some of the obstacles or barriers to implementing EBP (evid.pdfWhat are some of the obstacles or barriers to implementing EBP (evid.pdf
What are some of the obstacles or barriers to implementing EBP (evid.pdf
 
Type II hypersensitivity occurs when a.An immediate allergic or ana.pdf
Type II hypersensitivity occurs when  a.An immediate allergic or ana.pdfType II hypersensitivity occurs when  a.An immediate allergic or ana.pdf
Type II hypersensitivity occurs when a.An immediate allergic or ana.pdf
 
The sum of two integers is 19. The larger integer is 5 less than twi.pdf
The sum of two integers is 19. The larger integer is 5 less than twi.pdfThe sum of two integers is 19. The larger integer is 5 less than twi.pdf
The sum of two integers is 19. The larger integer is 5 less than twi.pdf
 

Recently uploaded

Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 

Recently uploaded (20)

Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdfDiuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 

C Language ProblemThere are more than one wrong things I think.P.pdf

  • 1. C Language Problem There are more than one wrong things I think. Please Explain Is the following case structure correct? If incorrect - what's wrong? double name; switch(name){ease 1: break: case 2: break case 3: break: default:} Solution Change datatype of "name" to int or change case values to double type Default keyword should be followed by colon(:)