The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Your application should: a) Display a welcome messageb) Prompt the user for a 5-letter string and read it into a single string variable.c) If the string is not exactly 5 characters long send an error message and terminate the program, ifhttp://donwebblog.com/2012/10/las-peorescontrasenas-del-ano/Comp 218/Fall 2016 Page 3 of 4 Assignment #2not continue on to step d).d) Using a while loop, generate the password in a new string variable by reversing the order ofthe character in the string and subtracting 15 from each character to produce the password.e) Display the password with a descriptive message.f) Display a closing message and end the program.
************************************************************************************* This is the question you have already answered for me. there is a follow up question to it that should be fairly quick to solve if u could help me with it that would be awesome *********************************
Â
In the second version of question 2, you are required to modify your program from Question 2 byreplacing the while loop with a do/while loop. The behavior of this version should be the same asquestion 2. JUST NEED TO CHANGE THE WHILE FOR DO WHILE.