Write a program that takes in a string from the user

Assignment Help Computer Engineering
Reference no: EM132211465

Question :

Write a program that takes in a string from the user. Count the number of consonants, vowels, digits and "other" characters in the string and display this to the user (might as well print the total number of characters as well).

Your program should ignore case -i.e., A=a, E=e, and so on.

Remember, as you are working through you testing, test with small, easy to verify strings -i.e., a small string of all letters, a small string of all numbers, etc. java question 1 Enter a string: This toast is delicious I will have 1234567890 pieces!!

19 consonants.

16 vowels.

10 numbers.

12 other characters.

57 total characters.

Reference no: EM132211465

Questions Cloud

Write a program that will sort a basket of clothes : Write a program that will sort a basket of clothes into their proper drawers. If you were not aware you are sort clothes by their type in this order.
Critically health and safety policy in place : NT 2065 Health and Safety in the Workplace - B.Sc. (Hons) Health, Safety and Environmental Management - Evaluate critically health and safety policy in place
Generate the table only when the button is pressed : Write a program, using either a for-loop, that when a button is clicked on the first page, a function is called that writes a html table of Celsius temperatures
Write a program that will take integers from the user : Write a program that will take 7 integers from the user, store them in an array. Write three functions which takes the aforementioned array as input.
Write a program that takes in a string from the user : Write a program that takes in a string from the user. Count the number of consonants, vowels, digits and "other" characters in the string.
Write program in script file that converts measure of area : Write a program in a script file that converts a measure of area given in units of either m^2, cm^2, in^2, ft^2, yd^2, or acre to the equivalent quantity.
Write a program stringarray usign given information : Write a program "StringArray" which creates a string array that contains your top 5 favorite kinds of foods (Italian, Chinese, etc.).
Write a program that stores the values : Write a program that stores the values ' X' and 76.1 in separate memory cells. Your program should get the values as data items and display them again.
What was the highest grade on test two : Write a method that takes in a teacher's last name and exam number via parameters. Ask the teacher (using her name) to tell you the highest score on that exam.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd