Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that requests the user to enter an alphabetic character. Then convert the character from upper case to lower case or lower case

Write a program that requests the user to enter an alphabetic character. Then convert the character from upper case to lower case or lower case to upper case. Print an error message if the user enters something other than an alphabetic character.

For example:

Enter an alphabetic character: A

Your input A converted to lower case is a.

Enter an alphabetic character: t

Your input t converted to upper case is T.

Enter a single digit or an alphabetic character: 9

You entered 9, which is not a letter.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The World Wide Web And Databases International Workshop Webdb 98 Valencia Spain March 27 28 1998 Selected Papers Lncs 1590

Authors: Paolo Atzeni ,Alberto Mendelzon ,Giansalvatore Mecca

1st Edition

3540658904, 978-3540658900

More Books

Students also viewed these Databases questions

Question

1. Identify three approaches to culture.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago