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

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: ). This problem is about the chaining method we discussed in the class. Problem 3 (. . Consider a ha...

A: The, given sequence of keys are <5,8,44,23,30,34,52,32,15,16>

Q: Implement the below class. Car- plateNumber: String- horsePower: int- year: int- nbCarsCreated: int+...

A: The required Java code is given below: public class Car {                      // class Car definiti...

Q: Create a financial application that helps plan for retirement. The user will enter the data of their...

A: program for Flowgorithm is in step 2. please feel free to post any follow-up questions in case of an...

Q: Please solve very soon completely

A: Given,   L R T 2,2 0,0 B 0,0 1,1 Player1 can play in Top or in Bottom and Player2 can play...

Q: Using an unsorted array to implement a map would allow an O(log2N) get operation (where N is the num...

A: False Loop will run array n times and Second loop again n times Nested Loop

Q: discrete math

A: Note : As per the guidelines we are supposed to answer only one question , please repost other quest...

Q: You are to program an open addressing hash table. Use array size to be 50.Your hash table must resol...

A: Hashing is an improvement over Direct Access Table. The idea is to use a hash function that converts...

Q: Subject:Database Myid=18191103032 doing solve step bye step

A: It is used to implement database indexes In B+ tree leaf nodes denotes actual data pointers All leaf...

Q: Qn 1: Write a C++ program to multiply 2 matrices using multi-dimensional arrays. Program should ask ...

A: Program code:     //inlcuding necessary header files #include <iostream> using namespace std; ...

Q: When removing the string "G" form the following skip list, how many references within this skip list...

A: Deletion In skip list means we have to make connection between predecessor and successor of deleted ...

Q: 2. Otherwise, search recursively by comparing K with the element located at [n/4]. If it equal, then...

A: Divide-and-conquer, breaks a problem into subproblems that are similar to the original problem, recu...

Q: Lmat that w all OL SP De int[] list = {-2, 8, 13, 22, 25, 25, 38, 42, 51, 103}; This would construct...

A: Actually, array is an collection of elements.

Q: Write a python program that lets the user play the game of Rock, Paper, Scissors against the compute...

A: #Rock, Paper, Scissors Game import random while True: choice=int(input("Enter your choice 1.Rock, 2...

Q: Suppose that your company is trying to decide whether it should buy special equipment to prepare hig...

A: Solution is in Step 2.

Q: (k) get_topx_areas_of_crimes(2D1ist, x) that takes a 2D-list (database) and an integer x as input. T...

A: Program Plan:- 1. Define the function get_topx_areas_of_crimes(database, x): 2. Find out the total c...

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: List file & disk management tools, and describe the function of each.

A: Click to see the answer

Q: This is the question -  Write an application in which you declare an array of eight first names. Wri...

A: GIVEN: Create a Java program and declare an array of eight first names. Write a try block. Get the i...

Q: 2. Modify the Fahrenheit program so that it displays a button that when pressed causes theconversion...

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

Q: Q6: (Display patterns using loops) Use nested loops that display the following pattern in three sepa...

A: Pattern A  : Program in  C #include <stdio.h> int main() {    int i, j, rows;    printf("Enter...

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: solve all questions Suppose 5 processes A, B, C, D and E arrive at the times indicated, and each of ...

A: Actually, given table is :                                             process  Arrival t...

Q: Please explain RAID 10 and RAID 50.

A: In RAID 1 all data written to one disk is mirrored to its counterpart in the pair. RAID 10 takes thi...

Q: A student has 5 different English book, 2 different Science books and 2 different Mathematics books....

A: Solution is in Step 2.

Q: Hello, How can I store a whole book in a file in c language? I had some issues because the string is...

A: Robinson Crusoe is a novel by Daniel Defoe, first published on 25 April 1719. The first edition cred...

Q: A vector contains the grades obtained by students of a class in an assessment, with the following ch...

A: Declare an integer variable size to hold the capacity of both the vectors.   Declare one float and o...

Q: Today's PCs have many different connections. In order to input information and have corresponding in...

A: Actually, computer is a electronic device. Which takes input and gives output.

Q: (b)/Éxplain Dijkstra Algorithm and compute the shortest paths of given Network fig-1. 2 Source Desbn...

A: Introduction of Dijkstra's Algorithm: The Dijkstra's Algorithm is used to find the minimum distance ...

Q: There is a legend about a magical park with N × N trees. The trees are positioned in a square grid w...

A: #include <stdio.h>int main(){ //number of trees int N; scanf("%d",&N); //array to st...

Q: Solve this problem

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

Q: Write an ALP for 8051 to transfer letter “ABC” serially at 4800 baud continuously. Use 8-bit data an...

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

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

A: Click to see the answer

Q: What is a firewall? What are the three types of Firewalls?

A: A firewall is a network security device that advising the incoming and outgoing network traffic and ...

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: Computer Science Question

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

Q: O get_index(dictionary, list) takes two input arguments, a dictionary (crime_dict) and a list of str...

A: Objective: This program includes a function that takes two parameters and returns a list. The method...

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...