Write a c++ program that takes 10 character type input from user. In the end, your program should display count of Capital and small alphabets, count of integers and special characters. Sample Output: Enter 10 characters: A B C t g 1 0 $ ^ # Total Capital Letters are: 3 Total Small Letters are: 2 Total Integer values are: 2 Total Special characters are: 3

Question

using simple loop 

 

Write a c++ program that takes 10 character type input from user. In the end, your program should display count of Capital and small alphabets, count of integers and special characters.
Sample Output: Enter 10 characters: A B C t g 1 0 $ ^ #
Total Capital Letters are: 3
Total Small Letters are: 2
Total Integer values are: 2
Total Special characters are: 3

 

Expert Answer

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.
Tagged in
Engineering
Computer Science

Programing Language

Related Computer Science Q&A

Find answers to questions asked by students like you.

Q: What is a computer virus? What is a worm?

A: VIRUS stands for Vital Infection Resources Under Sieze A computer virus, much like a flu virus, is d...

Q: Write bash script which takes array as an input of size 10 bind its even indexes to accept even valu...

A: The, script has given below;

Q: a) Printers today have many features that include improved quality, photo printing capabilities, dig...

A: Some of the most important feature that are needed for a printer is that The printer must have a hi...

Q: Description You are contacted by a Birthday Party Clubownerwho wants you to help withmaking a Websit...

A: Click to see the answer

Q: Computer Science Question

A: The, answer has given below:

Q: Consider the following set of functional dependency for the relation schema R = (А, В, С, D, E, F, G...

A: Functional Dependency: A functional dependency refers to the connection between any two fields of a ...

Q: I need a comparative table of 100BaseT, 1000BaseT, 1000BaseL.X, 1000BaseS.X, 100GBaseT, 10GBaseLR, d...

A: A LAN is a computer network limited to a small area such as an office building, university, or even ...

Q: A salesman has n things to sale .The cost price of all n things is different out of which p things h...

A: We have the formulas for Loss and Profit as Profit = selling price- cost price  (We are selling the ...

Q: (Given 11/24/20 Homework #4 Due: 12/10/20) Following is a data description of a library: The library...

A: Actually, database is a used to stores the data.

Q: Use the recursion tree method to solve each of the following recurrences: (a) T(n) =T(n/10) +T(9n/10...

A: The following is the given recurrence relation:- T(n)=T(n/10)+T(9n/10)+O(n2) Here the shortest leaf ...

Q: Your friend Abiha has just received a computer. A computer carries Ubuntu Linux operating system. Sh...

A: System Software A type of software is the interface between application software and system, is call...

Q: Briefly state the principle following multple access protocol  a). TDMA; B).FDMA; C) Pure ALOHA d)Sl...

A: Solution:  Multiple access protocols  : They are group  of protocols  that operate in Medium Access ...

Q: Develop an assembly language program for 8085 microprocessor to count continuously in hexadecimal fr...

A: Program Plan:- The counter will be set by using register and loading it with starting number and th...

Q: The IT director of Global Hills started the meeting today by saying "I've got some good news and som...

A:   Solution 1:  Some of the drawbacks related to device growth are:  By the end of November, which i...

Q: Solve this algbra

A: Actually,  Consider the machine number is 0     01100000111     010100110001

Q: Design an algorithm and hence, a logic using C language, based on STM32F100RB peripherals to follow ...

A: Algorithm is a step-by-step procedure, which defines a set of instructions to be executed in a certa...

Q: How should i use github?What are the best hacking apps for Android?Can I earn through canva and remo...

A: GitHub GitHub is a highly used software that is typically used for version control. It is helpful wh...

Q: Evaluate the following statement: DOM is a limited interface which works only on JavaScript and HTML...

A: he HTML DOM model is constructed as a tree of Objects: The HTML DOM Tree of Objects With the obje...

Q: 2- Please I want solution of this question urgently. Thanks

A: Explanation: a. c++ is not same as c = c + 2 because, c++ means the value of “c” is incremented by 1...

Q: Only C/C++

A: #include <iostream>using namespace std;// This functions returns the// Maximum no of students ...

Q: Program In C  Create one function that contains only one for loop to print the passed array of point...

A: #include <stdio.h> //Function declaration void print(char **arrVal, int size); int main() {   ...

Q: 7- Please I want solution of this question. Thanks

A: Click to see the answer

Q: Draw the diagrams of given addressing modes. Show it with examples also. 1- Indexed Addressing a. Po...

A: Indexed Addressing Mode:

Q: Write an 8051 C program to transfer the message “HELLO” serially at 9600 baud, 8-bit data, 1 stop bi...

A:                   MOV     TMOD,#20H             ;timer 1, mode 2                   MOV     THI,#-3  ...

Q: Evaluate the following expressions given below step by step to show the explanation. e1 = (10 * Z Y...

A: The, answer has given below:

Q: For each concept in the left column below, select the closest matching item from the right column. N...

A: Inheritance               : 22 Foreign key              : 9 1:n relation              : 5 Sybase    ...

Q: The Internet has fast become a key instrument for the exercise of the right to freedom of speech. In...

A: Freedom of speech is a principle that encourages an individual's or a community's freedom to express...

Q: Q3: (Tax Calculator) Develop a Java program that determines the total tax for each of four citizens....

A: The required Java code is: import java.util.Scanner;class TaxCalculator{ static double incomeTax(dou...

Q: (Fall 2020) (Given 11/24/20 Homework #4 Due: 12/10/20) Following is a data description of a library:...

A: Actually, database is used to stores the data.

Q: The Code must be in Matlab

A: x = input('Input the value of x : ');if(x<1)    y = log(1./(1-x));    disp('Calculated value is :...

Q: JAVA

A: As per our policy, we can answer only one question per question and kindly resubmit the remaining qu...

Q: Two elements with identical keys should have the same hash code. Group of answer choices True False ...

A: The given question is: Two elements with identical keys should have the same hash code.

Q: Write a C++ program that fills a 5 x 5 matrix of integers. The matrix must be a static matrix; its s...

A: Actually, c++ is a powerful general purpose language.

Q: Event Listeners Go to the co_credit.js file in your editor. Create an event listener for the window ...

A: Actually, JavaScript is a programming language for the web.

Q: Search online for samples of IT contracts. Use search phrases like “IT contract” or “sample contract...

A: The, given information is: Search online for samples of IT contracts. Use search phrases like “IT co...

Q: Code in C# (OOP Concept) Suppose that Fruit, Apple, Orange, GoldenDelicious, and McIntosh are define...

A: What is an instance(object):- (OVERVIEW) A class defines a type of object, but it is not an object i...

Q: Specify the register contents and flag status as the following instructions are executed. A B S Z CY...

A: flag Status TRUE  

Q: Using a text editor, create a file that contains a list of at least 15 six-digit account numbers. Re...

A: Actually, java is a object oriented programming language. It is a platform independent.