SlideShare une entreprise Scribd logo
1  sur  21
Lab No. 3 [email_address] Air University
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Air University
[object Object],The control statement that allows us to make a decision from the number of choices is called a  switch
[object Object],[object Object],[object Object]
[object Object],switch statements
[object Object],[object Object],switch statements
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],default :
switch (grade) Display  “ Excellent” case ‘B’ : case ‘A’ : Display  “ Very Good” Default : “…… ..” Flow Chart of switch statement …
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Output I am in case 2
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],switch (x)  {  case 1: cout << &quot;x is 1&quot;;  break; case 2: cout << &quot;x is 2&quot;;  break;  default: cout << &quot;value of x unknown&quot;;  }
[object Object],[object Object],[object Object],[object Object],switch ( a )  {  case 3.2 :  ...  case 1 + 2 :  ...  }
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Break 1 Break 2
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object]
[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Air University
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Air University

Contenu connexe

Tendances

Conditional statements in vb script
Conditional statements in vb scriptConditional statements in vb script
Conditional statements in vb scriptNilanjan Saha
 
Decision making statements in C programming
Decision making statements in C programmingDecision making statements in C programming
Decision making statements in C programmingRabin BK
 
C programming decision making
C programming decision makingC programming decision making
C programming decision makingSENA
 
Decision Making and Branching in C
Decision Making and Branching  in CDecision Making and Branching  in C
Decision Making and Branching in CRAJ KUMAR
 
C++ Programming Club-Lecture 3
C++ Programming Club-Lecture 3C++ Programming Club-Lecture 3
C++ Programming Club-Lecture 3Ammara Javed
 
C lecture 3 control statements slideshare
C lecture 3 control statements slideshareC lecture 3 control statements slideshare
C lecture 3 control statements slideshareGagan Deep
 
C++ decision making
C++ decision makingC++ decision making
C++ decision makingZohaib Ahmed
 
Selection Statements in C Programming
Selection Statements in C ProgrammingSelection Statements in C Programming
Selection Statements in C ProgrammingKamal Acharya
 
C Prog. - Decision & Loop Controls
C Prog. - Decision & Loop ControlsC Prog. - Decision & Loop Controls
C Prog. - Decision & Loop Controlsvinay arora
 
Decision statements in c language
Decision statements in c languageDecision statements in c language
Decision statements in c languagetanmaymodi4
 
Spf Chapter5 Conditional Logics
Spf Chapter5 Conditional LogicsSpf Chapter5 Conditional Logics
Spf Chapter5 Conditional LogicsHock Leng PUAH
 
Control statements anil
Control statements anilControl statements anil
Control statements anilAnil Dutt
 

Tendances (20)

Conditional statements in vb script
Conditional statements in vb scriptConditional statements in vb script
Conditional statements in vb script
 
Decision making statements in C programming
Decision making statements in C programmingDecision making statements in C programming
Decision making statements in C programming
 
C programming decision making
C programming decision makingC programming decision making
C programming decision making
 
Decision Making and Branching in C
Decision Making and Branching  in CDecision Making and Branching  in C
Decision Making and Branching in C
 
C++ Programming Club-Lecture 3
C++ Programming Club-Lecture 3C++ Programming Club-Lecture 3
C++ Programming Club-Lecture 3
 
C++ STATEMENTS
C++ STATEMENTS C++ STATEMENTS
C++ STATEMENTS
 
C lecture 3 control statements slideshare
C lecture 3 control statements slideshareC lecture 3 control statements slideshare
C lecture 3 control statements slideshare
 
C++ decision making
C++ decision makingC++ decision making
C++ decision making
 
Selection Statements in C Programming
Selection Statements in C ProgrammingSelection Statements in C Programming
Selection Statements in C Programming
 
Control structures in C
Control structures in CControl structures in C
Control structures in C
 
Looping statements
Looping statementsLooping statements
Looping statements
 
C Prog. - Decision & Loop Controls
C Prog. - Decision & Loop ControlsC Prog. - Decision & Loop Controls
C Prog. - Decision & Loop Controls
 
Decision statements in c language
Decision statements in c languageDecision statements in c language
Decision statements in c language
 
Lecture 10 - Control Structures 2
Lecture 10 - Control Structures 2Lecture 10 - Control Structures 2
Lecture 10 - Control Structures 2
 
Lập trình C
Lập trình CLập trình C
Lập trình C
 
Control statements
Control statementsControl statements
Control statements
 
Spf Chapter5 Conditional Logics
Spf Chapter5 Conditional LogicsSpf Chapter5 Conditional Logics
Spf Chapter5 Conditional Logics
 
Lập trình C
Lập trình CLập trình C
Lập trình C
 
Control statements anil
Control statements anilControl statements anil
Control statements anil
 
Ch3 selection
Ch3 selectionCh3 selection
Ch3 selection
 

En vedette

Lab manual of C++
Lab manual of C++Lab manual of C++
Lab manual of C++thesaqib
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentationlpaviglianiti
 
[English]sae convergence2010 final2
[English]sae convergence2010 final2[English]sae convergence2010 final2
[English]sae convergence2010 final2Tsuguo Nobe
 
Monserrat mayen diaz
Monserrat mayen diazMonserrat mayen diaz
Monserrat mayen diazmvazquez3a
 
Dn11 u3 a15_lsf
Dn11 u3 a15_lsfDn11 u3 a15_lsf
Dn11 u3 a15_lsfvillalu
 
Store Support Operations - Training on MSC Application
Store Support Operations - Training on MSC ApplicationStore Support Operations - Training on MSC Application
Store Support Operations - Training on MSC ApplicationNag Arvind Gudiseva
 
BS's COMPANY PROFILE_VIETNAMESE
BS's COMPANY PROFILE_VIETNAMESEBS's COMPANY PROFILE_VIETNAMESE
BS's COMPANY PROFILE_VIETNAMESEMinh Hoàng
 
Social Developmental Theory
Social Developmental TheorySocial Developmental Theory
Social Developmental Theorykrystalanne929
 
Reducing Cost Per Release Cycle
Reducing Cost Per Release CycleReducing Cost Per Release Cycle
Reducing Cost Per Release CycleKalido
 
스토리텔링 운명의나무 성민우_일반인_20111028
스토리텔링 운명의나무 성민우_일반인_20111028스토리텔링 운명의나무 성민우_일반인_20111028
스토리텔링 운명의나무 성민우_일반인_20111028Minwoo Sung
 
Java program in_action_20110727-撒迦
Java program in_action_20110727-撒迦Java program in_action_20110727-撒迦
Java program in_action_20110727-撒迦chenjianxing
 
Html in a box
Html in a boxHtml in a box
Html in a boxbdubuque
 

En vedette (20)

Lab # 1
Lab # 1Lab # 1
Lab # 1
 
Lab manual of C++
Lab manual of C++Lab manual of C++
Lab manual of C++
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
 
9. hypertensive ich in the very elderly
9. hypertensive ich in the very elderly9. hypertensive ich in the very elderly
9. hypertensive ich in the very elderly
 
Mirabal
MirabalMirabal
Mirabal
 
[English]sae convergence2010 final2
[English]sae convergence2010 final2[English]sae convergence2010 final2
[English]sae convergence2010 final2
 
Monserrat mayen diaz
Monserrat mayen diazMonserrat mayen diaz
Monserrat mayen diaz
 
Dn11 u3 a15_lsf
Dn11 u3 a15_lsfDn11 u3 a15_lsf
Dn11 u3 a15_lsf
 
紫荊書院.1&2
紫荊書院.1&2紫荊書院.1&2
紫荊書院.1&2
 
Store Support Operations - Training on MSC Application
Store Support Operations - Training on MSC ApplicationStore Support Operations - Training on MSC Application
Store Support Operations - Training on MSC Application
 
BS's COMPANY PROFILE_VIETNAMESE
BS's COMPANY PROFILE_VIETNAMESEBS's COMPANY PROFILE_VIETNAMESE
BS's COMPANY PROFILE_VIETNAMESE
 
Fcp
FcpFcp
Fcp
 
Anatómia i
Anatómia iAnatómia i
Anatómia i
 
Social Developmental Theory
Social Developmental TheorySocial Developmental Theory
Social Developmental Theory
 
Reducing Cost Per Release Cycle
Reducing Cost Per Release CycleReducing Cost Per Release Cycle
Reducing Cost Per Release Cycle
 
스토리텔링 운명의나무 성민우_일반인_20111028
스토리텔링 운명의나무 성민우_일반인_20111028스토리텔링 운명의나무 성민우_일반인_20111028
스토리텔링 운명의나무 성민우_일반인_20111028
 
Honouring the Children
Honouring the ChildrenHonouring the Children
Honouring the Children
 
Java program in_action_20110727-撒迦
Java program in_action_20110727-撒迦Java program in_action_20110727-撒迦
Java program in_action_20110727-撒迦
 
Html in a box
Html in a boxHtml in a box
Html in a box
 
Video for Social Media
Video for Social MediaVideo for Social Media
Video for Social Media
 

Similaire à c++

Dti2143 chap 4 control statement part 2
Dti2143 chap 4 control statement part 2Dti2143 chap 4 control statement part 2
Dti2143 chap 4 control statement part 2alish sha
 
Falcon初印象
Falcon初印象Falcon初印象
Falcon初印象勇浩 赖
 
Testing lecture after lec 4
Testing lecture after lec 4Testing lecture after lec 4
Testing lecture after lec 4emailharmeet
 
Php Loop
Php LoopPhp Loop
Php Looplotlot
 
Switch.pptx
Switch.pptxSwitch.pptx
Switch.pptxAliAbro7
 
Vb.Net 01 To 03 Summary Upload
Vb.Net 01 To 03 Summary UploadVb.Net 01 To 03 Summary Upload
Vb.Net 01 To 03 Summary UploadHock Leng PUAH
 
Cplusplus
CplusplusCplusplus
Cplusplusdancey
 
Php Crash Course
Php Crash CoursePhp Crash Course
Php Crash Coursemussawir20
 
C language UPTU Unit3 Slides
C language UPTU Unit3 SlidesC language UPTU Unit3 Slides
C language UPTU Unit3 SlidesRakesh Roshan
 
Csphtp1 05
Csphtp1 05Csphtp1 05
Csphtp1 05HUST
 
C/C++ programming language Something Great/tutorialoutletdotcom
C/C++ programming language Something Great/tutorialoutletdotcomC/C++ programming language Something Great/tutorialoutletdotcom
C/C++ programming language Something Great/tutorialoutletdotcomdavvvid410
 
#OOP_D_ITS - 3rd - Migration From C To C++
#OOP_D_ITS - 3rd - Migration From C To C++#OOP_D_ITS - 3rd - Migration From C To C++
#OOP_D_ITS - 3rd - Migration From C To C++Hadziq Fabroyir
 

Similaire à c++ (20)

Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Control All
Control AllControl All
Control All
 
Dti2143 chap 4 control statement part 2
Dti2143 chap 4 control statement part 2Dti2143 chap 4 control statement part 2
Dti2143 chap 4 control statement part 2
 
Falcon初印象
Falcon初印象Falcon初印象
Falcon初印象
 
Testing lecture after lec 4
Testing lecture after lec 4Testing lecture after lec 4
Testing lecture after lec 4
 
Php Loop
Php LoopPhp Loop
Php Loop
 
Switch.pptx
Switch.pptxSwitch.pptx
Switch.pptx
 
Vb.Net 01 To 03 Summary Upload
Vb.Net 01 To 03 Summary UploadVb.Net 01 To 03 Summary Upload
Vb.Net 01 To 03 Summary Upload
 
C++ programming
C++ programmingC++ programming
C++ programming
 
Flow of control ppt
Flow of control pptFlow of control ppt
Flow of control ppt
 
C++ programming
C++ programmingC++ programming
C++ programming
 
Cplusplus
CplusplusCplusplus
Cplusplus
 
Php Crash Course
Php Crash CoursePhp Crash Course
Php Crash Course
 
Presentation1
Presentation1Presentation1
Presentation1
 
C language UPTU Unit3 Slides
C language UPTU Unit3 SlidesC language UPTU Unit3 Slides
C language UPTU Unit3 Slides
 
Savitch ch 03
Savitch ch 03Savitch ch 03
Savitch ch 03
 
Csphtp1 05
Csphtp1 05Csphtp1 05
Csphtp1 05
 
Form Validation
Form ValidationForm Validation
Form Validation
 
C/C++ programming language Something Great/tutorialoutletdotcom
C/C++ programming language Something Great/tutorialoutletdotcomC/C++ programming language Something Great/tutorialoutletdotcom
C/C++ programming language Something Great/tutorialoutletdotcom
 
#OOP_D_ITS - 3rd - Migration From C To C++
#OOP_D_ITS - 3rd - Migration From C To C++#OOP_D_ITS - 3rd - Migration From C To C++
#OOP_D_ITS - 3rd - Migration From C To C++
 

Dernier

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 

Dernier (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 

c++

  • 1. Lab No. 3 [email_address] Air University
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. switch (grade) Display “ Excellent” case ‘B’ : case ‘A’ : Display “ Very Good” Default : “…… ..” Flow Chart of switch statement …
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.