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) : Need Help Question S C Use Modify Code Include Include Using Namespace Std Int Main Int C Q30253173 . . . .(Solved) : Need Help Question S C Use Modify Code Include Include Using Namespace Std Int Main Int C Q30253173 . . . .

<p>i need help with this question. It's c++.</p><p>/////////////////////////////////////////////////////////////////////////////////////////////////////////</p><p>/////////////////////////////////////////////////////////////////////////////////////////////////////////</p><p>/////////////////////////////////////////////////////////////////////////////////////////////////////////</p><p>/////////////////////////////////////////////////////////////////////////////////////////////////////////</p><p>use and modify this code:</p>#include <cstdio>#include <iostream>using namespace std;int main (){ int c ;