Computers and Technology
Computers and Technology, 24.06.2019 09:50, trenrain

Create a string list. 2. use console. readline() to collect values of firstname, lastname, street, city, state, zip, save them to list. 3. write a simple linq statement, call method uppercasewords() to change first letter to uppercase. 4. create a foreach statment to display the information. public static string uppercasewords(string value) { char[] array = value. tochararray(); if (array. length > = 1) { if (char. islower(array[0])) { array[0] = char. toupper(array[0]); } } for (int i = 1; i < array. length; i++) { if (array[i - 1] == ' ') { if (char. islower(array[i])) { array[i] = char. toupper(array[i]); } } } return new string(array);

answer
Answers: 3

Similar questions

Do you know the correct answer?
Create a string list. 2. use console. readline() to collect values of firstname, lastname, street, c...

Questions in other subjects:

Konu
Mathematics, 11.02.2020 21:51
Konu
Chemistry, 11.02.2020 21:51