1. Design an algorithm that determines whether the first character in the String variable str is uppercase, and if it is, changes that character to “0”. 2. Assume the following declaration appears in...

1. Design an algorithm that determines whether the first character in the String variable str is uppercase, and if it is, changes that character to “0”.

2. Assume the following declaration appears in a program: Declare String str = "World" Write a statement that inserts the string "Hello " at the beginning of the str variable. After the statement executes, the str variable should contain the string "Hello World".




May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here