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: python question, where i did wrong??? i couldn't find problem

A: def main   main

Q: Write a program to do the following operations on a Binary Search Tree (BST) considering the inputs ...

A: // Tree traversal in C++ #include <iostream>using namespace std; struct Node {  int data;  str...

Q: //Using SQL, please make sure your code is working create two tables with one common column example:...

A: The requirement is to create two tables in SQL, the insert atleast 10 records in each table. The que...

Q: Problem 2 (. ). Consider the following heap, which shows integer keys in the nodes: 5 22 15 34 27 28...

A: Remove the minimum from a given heap i.e 5 Copy the last value in the heap to the root of the heap....

Q: Write a program that reads repeatedly from the keyboard a prefix expression, converts it to a fully ...

A: Since you did not mention the language iam providing the answer in java Code: import java.util.*;   ...

Q: what is the pseudocode and flowchart

A: you have to define both the method in the Class and then take input and return the output as a full ...

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: # phyton A vector contains the grades obtained by students of a class in an assessment, with the fol...

A: import numpy as np list = input().split() list = [int(i) for i in list] grades = np.array(list)names...

Q: python a) There are six quizzes with grades 0 through 10. The lowest grade will be dropped.b) The pr...

A: Actually, python is a easiest programming language. It is a dynamically typed programming language.

Q: Create a generic Map interface MyMap<K,V> that represents a Map structure. K is the type for a...

A: Java code for given question is solved in step 2. feel free to post follow-up questions in case you ...

Q: Write a Java application that will accept two filenames (text files) as command line arguments and u...

A: The main objective of the java program is to create two files to read two files by using Threads. On...

Q: Computer Science Question

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

Q: please use c++ to answer the following question Use inheritance and classes to represent a deck of p...

A: Actually, inheritance is a acquiring the properties from one class to another class.

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: Scilab program for solving ordinary diffrential equation using ode package

A: It is numerically oriented high level programming language. It is free and open source software for ...

Q: When a resource is shared among multiple consumers. Examples include CPU scheduling, Disk Scheduling...

A: Program Plan:- 1. Create the class Process. 2. Define all the following functions:- sertBack(Proces...

Q: Use a trace table to show the value of X, n and the condition (n<3) at the instruction marked (*)...

A: n < 3? X n   2 0 True 2 1 True 3 2 True 5 3 False    

Q: Question no 3

A: Question 1 : Program : #include <stdio.h>void main()  {      int side_a, side_b, side_c;    p...

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: Who in an organization should decide where in the organizational structure the information security ...

A: The first group of people we are going to look at play a role in designing, developing, and building...

Q: Need help with the parts that say TODO in the image, This may be needed scoresheet code below   pack...

A: Here, we are going to build the methods to enable and disable the selectors for scores. Enable selec...

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: Clustering is a side effect of linear probing. Group of answer choices True False

A: True

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: Let's say you have an integer array and a string array. You have to write asingle method printArray ...

A: Program: //created class ArrayPrintpublic class ArrayPrint { //created main method public static voi...

Q: What is the significance of empowerment technologies?

A: Empowerment Technology -  Empowerment of technologies ia very important because it make the work of ...

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: C Programming Language (Code With C Programming Language) Problem Title : Visible Trees There is a l...

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

Q: I need help with this python question.

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

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: Specify the register contents and flag status as the following instructions are executed. A B S Z CY...

A: flag Status TRUE  

Q: The number of lines that can be printed on a paper depends on the paper size, the point size of each...

A: Since the programming language is not mentioned in the question, we will answer this question in the...

Q: The IT director of Global Hills started the meeting today by saying “I’ve got some good news andsome...

A: 1. Some of the constraints associated with the system's growth are:- By the end of November, the fra...

Q: Q3: Convert the following while loop into a do-while loop. int number; int sum = 0; count<< "E...

A: Click to see the answer

Q: Define the terms, foreground and background, in a multitasking operating system. Describe how a comp...

A: Step 1:- Note:-As per our policy, We are entitled to answer the first question only. Operating Syste...

Q: 12) Write a program to (a) load the accumulator with the value AAH, and (b) compliment the ACC 2100 ...

A: Based on our rule, we should do the first question alone when multiple questions are posted. Please ...

Q: A Customer wants to order some products from any super shop through online.Super shop authority main...

A: The, given information is A Customer wants to order some products from any super shop through online...

Q: u can consider graph as describe question .consider as ur own by given question description

A: The Bellman-Ford algorithm maybe thanks to finding single-source shortest paths during a graph withn...

Q: Problem 5 ( Suppose that your hash function resolves collisions using open addressing with double ha...

A: The, answer has given below;

Q: Write microC program to 8 bits up counter using pic16f84a

A: Actually, 1 byte=8 bits.

Q: Subject:Database

A: Closure Sets Of F+ is all three sets and closure of B+ is second one( in bold) {A}+= {A,B,C,D} {B}+=...