Question

using simple loop 

IN C++

Write a 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: The intersection of two sets contains the list of elements that are common to both, without repetiti...

A: Intersection: Let A and B the two arrays that store the sets of A and B respectively and C be the ar...

Q: I am having dificulties answering this from a developers point of view. Can you help me?

A: Solution is in Step 2.

Q: Sentiment analysis is a very effective way to enhance and develop your business using the client fee...

A: Sentiment analysis is the process of using natural language processing, text analysis, and statistic...

Q: A magic square is a square array of non-negative integers where the sums of the numbers on each row,...

A: def isMagicSquare(array): """ Python function that tests whether given array is a magic sq...

Q: Explain the benefits of hierarchial routing in terms of scale and administrative autonomy.

A: .  One router was indistinguishable from another  in the sense that all routers executed the same ro...

Q: This a Python coding question: A palindrome is a word or a phrase that is the same when read both fo...

A: Step 1:-   Program Approach:- Accept the user input Use the while loop for iteration on the string ...

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

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

Q: JAVA Please solve Question 2   public class Book{        //declaring a variable to store count of bo...

A: Actually, string is a sequence of characters.

Q: For each design pattern, please cover: 1) The short description of the pattern. 2) When do we use th...

A: Factory Design Pattern In the factory design pattern, the objects are created without showing the cr...

Q: (g) get_total_crimes_by_type(adict, 2Dlist) takes a dictionary (crime_dict) and a 2D-list (database)...

A: def get_total_crimes_by_type(adict, 2Dlist):    total_crime = {}    for i in adict:        value = a...

Q: a)      Consider this Algorithm-Z , Taking list of integer as input List Of Integer: X(Integer: ...

A: i) The above algorithm is used to find the factors of number. In the above algorithm Y is a list sto...

Q: Computer Science Question

A: The given password:  R@pt0r As per text: for first character: 4 bits of entropy for next characters:...

Q: Code in C# (OOP Concept) Do a program that does the following: Ask for a number from the user in the...

A: Step 1:-   The first program in the C# programming language and the second program in the C++ progra...

Q: Consider the following Scenario.Design a database for an airline. The database must keep track of cu...

A: The ask is to design a database for an airline, keeping track of customers and their reservations, f...

Q: JAVA

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

Q: Let B be a Boolean algebra. Show that (a) a ^0 = 0 (b) a V (a A b) = (c) a V (¬a A b) = a V b.

A: Click to see the answer

Q: (#2) computer science: theory of computation or automata theoryplease provide (step-by-step) explana...

A: Click to see the answer

Q: python question, where i did wrong??? i couldn't find problem

A: def main   main

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: Rspected Sir, please chek my qustioin  1. Calculate the sum of series of even numbers from the list ...

A: Subroutine : It is a set of program written at a specific memory location which is used to perform p...

Q: A set of ten BCD readings is stored in the ML 2050H. Write an ALP for 8085 to convert the numbers in...

A: Algorithm – Load 00H in a register (for carry) Load content from memory into register pair Move con...

Q: Explain the benefits of hierarchial routing in terms of scale and administrative autonomy.Differenti...

A: Note: This question contains the multiple questions. According to the guidelines you will get the an...

Q: // Flowers.cpp - This program reads names of flowers and whether they are grown in shade or sun from...

A: #include <fstream> #include <iostream> #include <string> using namespace std; int ...

Q: I* Your solution goes here */ while

A: The given is a java code under file named AutoBidder with below functionality:   1. It has a nextBid...

Q: Can i get question b a) Create a generic Map interface MyMap<K,V> that represents a Map struct...

A: -Importing required package -creating generic Map interface MyMap. -declaring method to add a key va...

Q: A university XYZ wants to implement a network for their different departments such as Administration...

A: A Campus Area Network consists of interconnection within a particular geographical area between LANs...

Q: Find the error in each of the following program segments and explain how to correct it "In C" : A) c...

A: Hey, since there are multiple sub-part questions posted, we will answer first three-sub-part questio...

Q: Write a Java or C++ program that will display the given menu: A Simple Library System1. Add a Studen...

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

Q: Write a user-defined function that adds or subtracts two polynomials of any order. Name the function...

A: The, given information is :  Name the function p=polyadd(p1,p2,operation). The first two input argum...

Q: JAVA Please solve Question 4 Please solve Question 4 Please solve Question 4 Please solve Question 4...

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

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: p.s :see image for question.

A: #include <iostream> double computeX_Avg(double F[],double X[],int n); using namespace std; int...

Q: what is live streaming in social media

A: Live streaming refers to the continuous capture and transmission of internet streaming media in real...

Q: Subject: Java My last 5 digit : 03086

A: Programming instructions:   Include the necessary header file. Create a class. In the class, create...

Q: I need help with this python question.

A: Note : Indentation is important in python programming. Solution is in Step 2.

Q: ) In order to communicate between devices inside a computer. A wire routing scheme is needed such th...

A:                         A bus is a shared connection for communication. To link multiple subsystems...

Q: (a) display_2D1list(list2D) that takes a 2D-list as input and prints all elements of that list in th...

A:   a.) Python program is   #function to display the list def display_2Dlist (list2D):       #when lis...

Q: Q4: (Find the two lowest scores) Write a program that prompts the user to enter the number of studen...

A: GIVEN: Create a Java program that prompts the user to enter the number of students and each student’...