REC6 Java Programming

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

REC6 Java Programming

Post by answerhappygod »

REC6 Java Programming
Rec6 Java Programming 1
Rec6 Java Programming 1 (40.14 KiB) Viewed 31 times
Write these recursion routines. Your solution should include the Main program that calls all 3 recursion routines and the 3 recursion routines. 1. Set a String to "abkdoiswekjdies" and call a recursive routine that returns the string in reverse order AND removes vowels(a,e,i,o,u). The answer for this example is sdjkwsdkb. Try some of your own examples (like all vowels or no vowels, or one character), etc. 2. Populate a 20 element array with random numbers from 1 to 100. Write a recursive routine to find the smallest number. 3. Develop a recursive algorithm for converting an integer into a string of digits. For example the integer 12439 would "12439"
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply