(a) Write a program that reads a message, then prints the reversal of the message: Enter a...
Fantastic news! We've Found the answer you've been seeking!
Question:
(a) Write a program that reads a message, then prints the reversal of the message:
Enter a message: Don’t get mad, get even.
Reversal is: .neve teg ,dam teg t’noD
(b) Revise the program to use a pointer instead of an integer to keep track of the current position in the array.
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date: