Question: Exercise 14. Given the string kingjihgfedcbaaend. Write a single line of code that will print the following: a) dcbaa b) kggc c) gjing d)
Exercise 14. Given the string "kingjihgfedcbaaend". Write a single line of code that will print the following: a) "dcbaa" b) "kggc" c) "gjing" d) The given string backwards
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
