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

  Write a program using the above function to print the number

Write a program using the above function to print thr number of days from 1 Jan 2017 to a given date and the day of the week of the given date.

  What was moores position on the last revision

What was Moores position on the last revision of his law - Clarify the four main factors contributing to the formulation of Moores Law

  What is the most likely geographic region to target customer

What is the most likely geographic region to target new customers to increase sales and profit? Which products should be prioritised for increase in sales?

  What is the maximum directly addressable memory

A microcontroller with 24 address pins and eight data pins is connected to a 1K × 8 memory with one enable. How many unused address bits of the microcontroller.

  Identify at least one security risk that would be a threat

Identify at least 1 security risk that would be a threat for this model that would not be a threat for a traditional software development model.

  Compare and evaluate the two different styles

What do you think are the pros of using frames.Compare and evaluate the two different styles.

  Explain differences in execution of the jump and call

Clearly explain the differences in the execution of the JUMP, CALL, and SWI (software interrupt) instructions - Show the difference between the execution of the JUMP and CALL instructions.

  Write a script that clears the screen

Determines how many sessions you are in (use who, grep, and wc), compare 2 files that are passed as parameters using diff and cmp.

  Clearly explain and describe at least three merits of

q1. clearly describe and discuss at least three advantages of clustering.q2. explain in detail why the average seek

  Define an sql statement that changes address of amy stevens

Define an SQL statement that changes the address of Amy Stevens in the 9E=h-O table. Define an SQL statement that deletes the customer with a Customer Id.

  What types of errors will cyclic checksum not detect

What is a generating polynomial? What types of errors will cyclic checksum not detect? Frame relay practices which form of error control?

  Make a function definition called backward

build a function definition called backward, with three parameters, the first and second parameters are arrays of integers of equal size and the third is an integer indicating the size of each array.

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