Ask coding questions

← Back to all posts
I have a program please help
AhmedALansari1

Write a program that contains:
1. change_case() This function switches the casing of all letters in a word/phrase passed to it. All uppercase letters should become lowercase, and all lowercase letters should become uppercase. If the letter is a space or a number or a symbol it should remain unchanged. The word/phrase, as it has been changed, should be used everywhere else in the program.
2. display_backwards() This procedure should receive the phrase. It should then display the message backwards with the phrase "Program says: " in front of it, to a user.
Example: If the phrase is "To Infinity and Beyond" the program should display
Program says: DNOYEb DNA YTINIFNi OOt
Call the functions and procedures to display: "To Infinity and Beyond"

Voters
AhmedALansari1
Comments
hotnewtop
forer

Hey, what language are you using? It also would be good if you shared the repl where you are trying to do that, so I can see your code