12. String Manipulator Write a program that asks the user to enter the name of his or her favorite city. Use a String variable to store the input. The program should display the following: • The...


Please provide whole source code for attached screenshot.


12. String Manipulator<br>Write a program that asks the user to enter the name of his or her favorite city. Use a<br>String variable to store the input. The program should display the following:<br>• The number of characters in the city name<br>• The name of the city in all uppercase letters<br>• The name of the city in all lowercase letters<br>• The first character in the name of the city<br>13. Restaurant Bill<br>Write a program that computes the tax and tip on a restaurant bill. The program should ask<br>the user to enter the charge for the meal. The tax should be 6.75 percent of the meal charge.<br>The tip should be 20 percent of the total after adding the tax. Display the meal charge, tax<br>amount, tip amount, and total bill on the screen.<br>

Extracted text: 12. String Manipulator Write a program that asks the user to enter the name of his or her favorite city. Use a String variable to store the input. The program should display the following: • The number of characters in the city name • The name of the city in all uppercase letters • The name of the city in all lowercase letters • The first character in the name of the city 13. Restaurant Bill Write a program that computes the tax and tip on a restaurant bill. The program should ask the user to enter the charge for the meal. The tax should be 6.75 percent of the meal charge. The tip should be 20 percent of the total after adding the tax. Display the meal charge, tax amount, tip amount, and total bill on the screen.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here