Question

I need this in PSEUDOCODE: Write a method, called CheckLetter. The method receives a letter as...

I need this in PSEUDOCODE:

Write a method, called CheckLetter. The method receives a letter as a parameter and returns whether the letter is a lowercase vowel (a, e, i, o, u) or not. Sample outputs are: The entered letter is: a, a is a vowel. The entered letter is: b, b is not a vowel.

Homework Answers

Answer #1

step1: first read the character from the user

step2:check if the character is equal to a or e or i or o or u if any condition is satisfied goto step3 else goto ste4

step3:print character is a vowle

step4:print character is not a vowel

step5:end the program

#sample code in python

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Write a function called isLowerCase that takes as a parameter a char and returns a boolean...
Write a function called isLowerCase that takes as a parameter a char and returns a boolean indicating whether the char is a lower-case (ASCII) letter. Do not call one of the JDK's library functions, like Character.isLowerCase; instead, implement the function from scratch. I just need a basic function using the most basic methods.
Write a function called fun which has an object as its parameter and returns the name...
Write a function called fun which has an object as its parameter and returns the name of properties of that object in an array. For instance, if it receives {a:1,b:3}, as its parameter, it should return [a, b], or if it receives {u:4, k:3, h:5}, it should return [u, k, h]. Answer:(penalty regime: 10, 20, ... %)
Write a program that reads a string and outputs the number of lowercase vowels in the...
Write a program that reads a string and outputs the number of lowercase vowels in the string. Your program must contain a function with a parameter of a char variable that returns an int. The function will return a 1 if the char being passed in is a lowercase vowel, and a 0 for any other character. The output for your main program should be: There are XXXX lowercase vowels in string yyyyyyyyyyyyyyyyyyyyyy Where XXXX is the count of lowercase...
Write a JAVA method called printComputeArea that receives the radius of a circle as an argument...
Write a JAVA method called printComputeArea that receives the radius of a circle as an argument and prints its area
Write a function called score that meets the specifications below. def score(word, f): """ word, a...
Write a function called score that meets the specifications below. def score(word, f): """ word, a string of length > 1 of alphabetical characters (upper and lowercase) f, a function that takes in two int arguments and returns an int Returns the score of word as defined by the method: 1) Score for each letter is its location in the alphabet (a=1 ... z=26) times its distance from start of word. Ex. the scores for the letters in 'adD' are...
I need this in PSEUDOCODE please: Write a FOR loop (just the loop) to print out...
I need this in PSEUDOCODE please: Write a FOR loop (just the loop) to print out the following sequence of numbers: 1, 4, 7, 10, 13, 16, 19, 22, 25
define a function,character, with parameter values and word that takes in a dictionary of letter values...
define a function,character, with parameter values and word that takes in a dictionary of letter values and a string. Based on the values in the dictionary, return the "score" that corresponds with the word parameter. NOTE: Assume all words and letter values will be lowercase. examples: values = {'a': 5, 'b': 5, 'c': 5, 'd': 5, 'e': 5, 'f': 5, 'g': 5, 'h': 5, 'i': 5, 'j': 5, 'k': 5, 'l': 5, 'm': 5, 'n': 5, 'o': 5} character(value,"ade") will...
Write a method called countChar which accepts a string parameter and a character parameter and returns...
Write a method called countChar which accepts a string parameter and a character parameter and returns an integer, that is: int countChar (String s, char c) This method should count the number of occurrences of the character c within the string s, and return the count to the caller. Also write a main method that tests countChar. All of the print statements and user interaction belong in the main method, not in countChar.
pseudocode please!! Assignment6C: P0\/\/|\|3D. In the early 80s, hackers used to write in an obfuscated, but...
pseudocode please!! Assignment6C: P0\/\/|\|3D. In the early 80s, hackers used to write in an obfuscated, but mostly readable way called “leet” – short for “elite”. In essence, it was a simple character replacement algorithm, where a single “regular” character was replaced by one or more “leet” characters; numbers remained the same. Here’s one of the most readable versions: a 4 g 9 m /\\/\\ s $ y ‘/ b B h |-| n |\\| t 7 z Z c (...
a basket holds 26 cards, and each card has a letter of the alphabet on it....
a basket holds 26 cards, and each card has a letter of the alphabet on it. each time a card is drawn, it is returned to the basket before the next card is drawn. what is the probability of selecting a constant on the first draw, a vowel (a,e, i,o or u) on the second draw, and then another constant on the third (and last) draw? a 7/52 b 525/4394 c 2205/17576 c 147/1040