SlideShare a Scribd company logo
IN C LANGUAGE
a. Using Geany, ask the user for a warship class by a letter ('S', 'C', 'D', 'F' and 'A'). Use a switch
statement to display the warship class name (S for Submarine, C for Cruiser, D for Destroyer, F
for Frigate and A for Aircraft Carrier). Display a message that the ship is unknown if the user
enters any other letter. (Note: accept also the lowercase version of the letters)

More Related Content

More from StevenNslParrl

in 400 words- How does your firmdefine shareholder value- Are the four.docx
in 400 words- How does your firmdefine shareholder value- Are the four.docxin 400 words- How does your firmdefine shareholder value- Are the four.docx
in 400 words- How does your firmdefine shareholder value- Are the four.docx
StevenNslParrl
 
In a biogeochemical cycle- an element is in flux when it is moving fro.docx
In a biogeochemical cycle- an element is in flux when it is moving fro.docxIn a biogeochemical cycle- an element is in flux when it is moving fro.docx
In a biogeochemical cycle- an element is in flux when it is moving fro.docx
StevenNslParrl
 
In 2021-Q was $1-000 billion- U was $200 billion- W was $650 billion-.docx
In 2021-Q was $1-000 billion- U was $200 billion- W was $650 billion-.docxIn 2021-Q was $1-000 billion- U was $200 billion- W was $650 billion-.docx
In 2021-Q was $1-000 billion- U was $200 billion- W was $650 billion-.docx
StevenNslParrl
 
In 2015 - the country of Cornucopia produced 20 kilos of apples and 30.docx
In 2015 - the country of Cornucopia produced 20 kilos of apples and 30.docxIn 2015 - the country of Cornucopia produced 20 kilos of apples and 30.docx
In 2015 - the country of Cornucopia produced 20 kilos of apples and 30.docx
StevenNslParrl
 
In 2007- Amazon reported total revenue of $34-6 billion- Ten years lat.docx
In 2007- Amazon reported total revenue of $34-6 billion- Ten years lat.docxIn 2007- Amazon reported total revenue of $34-6 billion- Ten years lat.docx
In 2007- Amazon reported total revenue of $34-6 billion- Ten years lat.docx
StevenNslParrl
 
In September- Oriole Company had the following financial statement amo.docx
In September- Oriole Company had the following financial statement amo.docxIn September- Oriole Company had the following financial statement amo.docx
In September- Oriole Company had the following financial statement amo.docx
StevenNslParrl
 
In python Create a program that uses the RYB subtractive color model -.docx
In python Create a program that uses the RYB subtractive color model -.docxIn python Create a program that uses the RYB subtractive color model -.docx
In python Create a program that uses the RYB subtractive color model -.docx
StevenNslParrl
 
In Pharoah Company- materials are entered at the beginning of each pro.docx
In Pharoah Company- materials are entered at the beginning of each pro.docxIn Pharoah Company- materials are entered at the beginning of each pro.docx
In Pharoah Company- materials are entered at the beginning of each pro.docx
StevenNslParrl
 
In Photosynthesis I Prelab- we discussed elements that should occur in.docx
In Photosynthesis I Prelab- we discussed elements that should occur in.docxIn Photosynthesis I Prelab- we discussed elements that should occur in.docx
In Photosynthesis I Prelab- we discussed elements that should occur in.docx
StevenNslParrl
 
In preparation for developing its statement of cash flows for the year.docx
In preparation for developing its statement of cash flows for the year.docxIn preparation for developing its statement of cash flows for the year.docx
In preparation for developing its statement of cash flows for the year.docx
StevenNslParrl
 
In order to promote financial literacy- the Federal Deposit Insurance.docx
In order to promote financial literacy- the Federal Deposit Insurance.docxIn order to promote financial literacy- the Federal Deposit Insurance.docx
In order to promote financial literacy- the Federal Deposit Insurance.docx
StevenNslParrl
 
In November- 2022- negotiators from nearly 200 countries concluded two.docx
In November- 2022- negotiators from nearly 200 countries concluded two.docxIn November- 2022- negotiators from nearly 200 countries concluded two.docx
In November- 2022- negotiators from nearly 200 countries concluded two.docx
StevenNslParrl
 
In Lucid- create an ERD on any topic of interest to you- Requirements-.docx
In Lucid- create an ERD on any topic of interest to you- Requirements-.docxIn Lucid- create an ERD on any topic of interest to you- Requirements-.docx
In Lucid- create an ERD on any topic of interest to you- Requirements-.docx
StevenNslParrl
 
In java- print the string's characters in reverse- removing spaces but.docx
In java- print the string's characters in reverse- removing spaces but.docxIn java- print the string's characters in reverse- removing spaces but.docx
In java- print the string's characters in reverse- removing spaces but.docx
StevenNslParrl
 
In java- print the string's words in reverse including spaces- Keep th.docx
In java- print the string's words in reverse including spaces- Keep th.docxIn java- print the string's words in reverse including spaces- Keep th.docx
In java- print the string's words in reverse including spaces- Keep th.docx
StevenNslParrl
 
In January- Oriole Company requisitions raw materials for production a.docx
In January- Oriole Company requisitions raw materials for production a.docxIn January- Oriole Company requisitions raw materials for production a.docx
In January- Oriole Company requisitions raw materials for production a.docx
StevenNslParrl
 
In humans- EcoRI site polymorphisms distinguish three wildtype alleles.docx
In humans- EcoRI site polymorphisms distinguish three wildtype alleles.docxIn humans- EcoRI site polymorphisms distinguish three wildtype alleles.docx
In humans- EcoRI site polymorphisms distinguish three wildtype alleles.docx
StevenNslParrl
 
In Drosophila- the alleles for cubitus interruptus veins (ci) and spar.docx
In Drosophila- the alleles for cubitus interruptus veins (ci) and spar.docxIn Drosophila- the alleles for cubitus interruptus veins (ci) and spar.docx
In Drosophila- the alleles for cubitus interruptus veins (ci) and spar.docx
StevenNslParrl
 
In Drosophila- vermilion eye color is due to a recessive allele (v) lo.docx
In Drosophila- vermilion eye color is due to a recessive allele (v) lo.docxIn Drosophila- vermilion eye color is due to a recessive allele (v) lo.docx
In Drosophila- vermilion eye color is due to a recessive allele (v) lo.docx
StevenNslParrl
 
In Drosophila yellow body color is caused by a sex-linked recessive al.docx
In Drosophila yellow body color is caused by a sex-linked recessive al.docxIn Drosophila yellow body color is caused by a sex-linked recessive al.docx
In Drosophila yellow body color is caused by a sex-linked recessive al.docx
StevenNslParrl
 

More from StevenNslParrl (20)

in 400 words- How does your firmdefine shareholder value- Are the four.docx
in 400 words- How does your firmdefine shareholder value- Are the four.docxin 400 words- How does your firmdefine shareholder value- Are the four.docx
in 400 words- How does your firmdefine shareholder value- Are the four.docx
 
In a biogeochemical cycle- an element is in flux when it is moving fro.docx
In a biogeochemical cycle- an element is in flux when it is moving fro.docxIn a biogeochemical cycle- an element is in flux when it is moving fro.docx
In a biogeochemical cycle- an element is in flux when it is moving fro.docx
 
In 2021-Q was $1-000 billion- U was $200 billion- W was $650 billion-.docx
In 2021-Q was $1-000 billion- U was $200 billion- W was $650 billion-.docxIn 2021-Q was $1-000 billion- U was $200 billion- W was $650 billion-.docx
In 2021-Q was $1-000 billion- U was $200 billion- W was $650 billion-.docx
 
In 2015 - the country of Cornucopia produced 20 kilos of apples and 30.docx
In 2015 - the country of Cornucopia produced 20 kilos of apples and 30.docxIn 2015 - the country of Cornucopia produced 20 kilos of apples and 30.docx
In 2015 - the country of Cornucopia produced 20 kilos of apples and 30.docx
 
In 2007- Amazon reported total revenue of $34-6 billion- Ten years lat.docx
In 2007- Amazon reported total revenue of $34-6 billion- Ten years lat.docxIn 2007- Amazon reported total revenue of $34-6 billion- Ten years lat.docx
In 2007- Amazon reported total revenue of $34-6 billion- Ten years lat.docx
 
In September- Oriole Company had the following financial statement amo.docx
In September- Oriole Company had the following financial statement amo.docxIn September- Oriole Company had the following financial statement amo.docx
In September- Oriole Company had the following financial statement amo.docx
 
In python Create a program that uses the RYB subtractive color model -.docx
In python Create a program that uses the RYB subtractive color model -.docxIn python Create a program that uses the RYB subtractive color model -.docx
In python Create a program that uses the RYB subtractive color model -.docx
 
In Pharoah Company- materials are entered at the beginning of each pro.docx
In Pharoah Company- materials are entered at the beginning of each pro.docxIn Pharoah Company- materials are entered at the beginning of each pro.docx
In Pharoah Company- materials are entered at the beginning of each pro.docx
 
In Photosynthesis I Prelab- we discussed elements that should occur in.docx
In Photosynthesis I Prelab- we discussed elements that should occur in.docxIn Photosynthesis I Prelab- we discussed elements that should occur in.docx
In Photosynthesis I Prelab- we discussed elements that should occur in.docx
 
In preparation for developing its statement of cash flows for the year.docx
In preparation for developing its statement of cash flows for the year.docxIn preparation for developing its statement of cash flows for the year.docx
In preparation for developing its statement of cash flows for the year.docx
 
In order to promote financial literacy- the Federal Deposit Insurance.docx
In order to promote financial literacy- the Federal Deposit Insurance.docxIn order to promote financial literacy- the Federal Deposit Insurance.docx
In order to promote financial literacy- the Federal Deposit Insurance.docx
 
In November- 2022- negotiators from nearly 200 countries concluded two.docx
In November- 2022- negotiators from nearly 200 countries concluded two.docxIn November- 2022- negotiators from nearly 200 countries concluded two.docx
In November- 2022- negotiators from nearly 200 countries concluded two.docx
 
In Lucid- create an ERD on any topic of interest to you- Requirements-.docx
In Lucid- create an ERD on any topic of interest to you- Requirements-.docxIn Lucid- create an ERD on any topic of interest to you- Requirements-.docx
In Lucid- create an ERD on any topic of interest to you- Requirements-.docx
 
In java- print the string's characters in reverse- removing spaces but.docx
In java- print the string's characters in reverse- removing spaces but.docxIn java- print the string's characters in reverse- removing spaces but.docx
In java- print the string's characters in reverse- removing spaces but.docx
 
In java- print the string's words in reverse including spaces- Keep th.docx
In java- print the string's words in reverse including spaces- Keep th.docxIn java- print the string's words in reverse including spaces- Keep th.docx
In java- print the string's words in reverse including spaces- Keep th.docx
 
In January- Oriole Company requisitions raw materials for production a.docx
In January- Oriole Company requisitions raw materials for production a.docxIn January- Oriole Company requisitions raw materials for production a.docx
In January- Oriole Company requisitions raw materials for production a.docx
 
In humans- EcoRI site polymorphisms distinguish three wildtype alleles.docx
In humans- EcoRI site polymorphisms distinguish three wildtype alleles.docxIn humans- EcoRI site polymorphisms distinguish three wildtype alleles.docx
In humans- EcoRI site polymorphisms distinguish three wildtype alleles.docx
 
In Drosophila- the alleles for cubitus interruptus veins (ci) and spar.docx
In Drosophila- the alleles for cubitus interruptus veins (ci) and spar.docxIn Drosophila- the alleles for cubitus interruptus veins (ci) and spar.docx
In Drosophila- the alleles for cubitus interruptus veins (ci) and spar.docx
 
In Drosophila- vermilion eye color is due to a recessive allele (v) lo.docx
In Drosophila- vermilion eye color is due to a recessive allele (v) lo.docxIn Drosophila- vermilion eye color is due to a recessive allele (v) lo.docx
In Drosophila- vermilion eye color is due to a recessive allele (v) lo.docx
 
In Drosophila yellow body color is caused by a sex-linked recessive al.docx
In Drosophila yellow body color is caused by a sex-linked recessive al.docxIn Drosophila yellow body color is caused by a sex-linked recessive al.docx
In Drosophila yellow body color is caused by a sex-linked recessive al.docx
 

Recently uploaded

PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
christianmathematics
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 

Recently uploaded (20)

PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 

IN C LANGUAGE a- Using Geany- ask the user for a warship class by a le.docx

  • 1. IN C LANGUAGE a. Using Geany, ask the user for a warship class by a letter ('S', 'C', 'D', 'F' and 'A'). Use a switch statement to display the warship class name (S for Submarine, C for Cruiser, D for Destroyer, F for Frigate and A for Aircraft Carrier). Display a message that the ship is unknown if the user enters any other letter. (Note: accept also the lowercase version of the letters)