Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you help me doing this in PSUEDOCODE NOT JAVA CODE Thank you!! Create a program that converts a string to an encrypted string by

image text in transcribed

Can you help me doing this in PSUEDOCODE NOT JAVA CODE

Thank you!!

image text in transcribed

Create a program that converts a string to an encrypted string by changing the values of the vowels to numbers entered by the user. For this task, use two arrays of size 5, one to store the vowels, called Vowels, and one to store the numbers, called Numbers. For example, if the user inputs the number 7 for a, 3 for e, 5 for i, 2 for o and 0 for u. The following two arrays should be created: 1. Vowels Numbers 0 2. Create the method readNumbers that will ask a user for the number corresponding to each vowel and store it in the Numbers array. 3. Create a method encryptString that will receive a String and will change the vowels of the String to the corresponding number. For example, using the example numbers provided in 1, if this method receives "This is easy peasy lemon squeezy" it will return "Th5s 5s 37sy p37sy 13m2n squ33sy 4. Create the main method of your program that will: a. Read the numbers for encryption. b. Ask the user: Do you want to encrypt a string? (Y/N) If the answer is "Y", the system should request as an input the string and print the encrypted string. Repeat this until the user indicates he/she doesn't want to encrypt a string, i.e., answer is "N". Trace your program with the following answers from user: 5. a. Ask the user: Do you want to encrypt a string? (Y/N)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago