Course Solutions Uncategorized (Solved) : C Programming Q Following Program Reads One Character Keyboard Display Character Uppercase Q33096957 . . . .

(Solved) : C Programming Q Following Program Reads One Character Keyboard Display Character Uppercase Q33096957 . . . .

 

C++ Programming

Q) The following program reads one character from the keyboardand will display the character in uppercase if it is lowercase anddoes the opposite when the character is in uppercase. If thecharacter is a digit, it displays a message with the digit.

// This program reads one character from the keyboard andwill
// convert it to uppercase. If it is lowercase, convert it touppercase.

// If it is a digit display a message with the digit.

#include<iostream>
#include<cctype>
using namespace std;

int main( )
{
    char c;

    cout << “Enter a character n”;
    cin >> c;

     if(isalpha(c))
    { //check to see if it is a letter ofalphabet
        if(

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Answer Following Questions Explain Various Types Attacks May Take Place Violation Followin Q32903397 . . . .(Solved) : Answer Following Questions Explain Various Types Attacks May Take Place Violation Followin Q32903397 . . . .

<p dir="ltr"><img src="https://media.cheggcdn.com/media%2F75b%2F75be6985-a6ae-4639-ac60-b0fc752de97a%2Fimage.png" alt="Answer the following questions: Explain various types of attacks that may take place on violation of the following threat consequences: Unauthorised disclosure, Deception, Disruption and Usurpation Explain