Write a program to read a string and count the vowels

Assignment Help Computer Engineering
Reference no: EM132198893

Write a fortran program.

Strings: Counting Vowels

PURPOSE: The purpose of this exercise is to provide a program that satisfies the requirements of project 3 on page 88 of the text.

"Write a program to read a string and count the vowels ("a", "e", "i", "o", and "u"). The program should provide a count for each vowel and a total count of vowels.

The program should ensure that each vowel is counted for both upper and lower-case. Test the program on a series of different input values and verify that the output is correct for those input values."

Assume the input string may be no longer than 999 characters.

Output shall be a formatted list of the format:

X occurs YYY times.

where X is each of the vowels and YYY is the number of occurrences in the input string.

The list shall have one preceding and one following blank line with no other blank lines.

Reference no: EM132198893

Questions Cloud

Compute the volume of a sphere of radius : Computes the spherical volume and outputs that Clearly to the user along with the radius being used (note units of volume here are cm3.
Improve the performance current operation : Select an OM technique that you have never used before to improve the performance a current operation which can be job-related or non-job related.
How much money would you receive each year after taxes : In January 2016, the record-shattering Powerball jackpot amounting to $1.5864 billion was won by three ticket holders, John and Lisa Robinson.
What should their order up to quantity be : If following a fixed time inventory system with a review period of 2 weeks, what should their order up to quantity be?
Write a program to read a string and count the vowels : Write a program to read a string and count the vowels. The program should provide a count for each vowel and a total count of vowels.
Write a function that accepts two strings as parameters : Write a function that accepts two strings as parameters, and returns a boolean based on whether or not the strings are anagrams of one another.
What is the utilization of this station : The set up time per lot is 7 minutes and the processing time per piece is 4 minutes. What is the utilization of this station?
Estimating the effect of unearned income : Estimating the Effect of Unearned Income on Labor Earnings, Savings, and Consumption: Evidence from a Survey of Lottery Players.
There are some people who fill socioemotional role : In teams, there are some people who fill a socioemotional role and others who fill a task specialist role. Which role do you most commonly fill?

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