subject

Write a program with three functions: upper, lower, and reverse. The upper function should accept a pointer to a C-string as an argument. It should step through each character in the string, converting them to uppercase. The lower function, too, should accept a pointer to a C-string as an argument. It should step through each character in the string, converting it to a lowercase. Like upper and lower, reverse should also accept a pointer to a string. As it steps through the string, it should text each character to determine whether it is uppercase or lowercase. If the character is upper case, it should be converted to lowercase. Likewise, if a character is lowercase, it should be converted to uppercase.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
To insert a column without using commands in any tabs, a user can -click and then click insert column.
Answers: 3
question
Computers and Technology, 22.06.2019 01:30
Someone wishes to run the software on another computer system that runs an operating system that does not support the software what can he do
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
You know the right answer?
Write a program with three functions: upper, lower, and reverse. The upper function should accept a...
Questions
question
Mathematics, 30.05.2020 05:57
question
Mathematics, 30.05.2020 05:57
Questions on the website: 13722363