Print the name backwards

Assignment Help Basic Computer Science
Reference no: EM131369562


Write just one program as follows, all code in the main function:

  • Prompt the user to enter his/her full name (see sample output).
  • Use awhile loop to print the name backwards.
  • Useslicing to make a new string in the format lastname, firstname. Print the new string.
  • Determine the number of upper and lower case letters in the name. Print both totals.
  • Assign "You have to be vewy, vewy twicky to twap a wascally wabbit" to another new string.
  • Use a methodto correct Elmer Fudd's bad spelling above. Print the corrected string.


Enter your full name John Hancock

Backwards, your name is kcocnaH nhoJ

Alphabetically, your name is Hancock, John

Your name has 2 upper case letters and 9 lower case letters

You have to be very, very tricky to trap a rascally rabbit

Reference no: EM131369562

Implement this version of the priority queue

The client provides an entry and its priority value to this method. The priority queue does not use newEntry's compareTo method to assess its priority. Implement this versio

Calculate and display the total cost of all calls

Assuming that the price per minute is 0.37, calculate and display the total cost of all calls. Remove the longest conversation from archive with phone calls and calculate th

Clearly indicate which variable is the lsb

Problem Statement :Design a digital circuit that detects if a 4-bit input code is a valid BCD (binary-coded decimal) code.That is, if the input value is in the range of 0-9,

Calculate the thickness of the hydrodynamic boundary layer

Engine oil at 100°C flows over and parallel to a flat surface at a velocity of 3 m/s. Calculate the thickness of the hydrodynamic boundary layer at a distance 0.3 m from the

Costs of the organization bi initiatives

Identify 2 specific benefits that the organization receives from its use of business intelligence (BI). Contrast the value of these benefits against the costs of the organiz

Significant business opportunity of apple

Do you believe it was wise for Apple to only present their OS on their PC instead of offering the version of Apple OS for other manufactory's (HP, Dell, Sony, etc) PC's?

Construct a relational database for new york

The state wants to record the fire department for which each firefighter currently works and each firefighter's supervisor. Supervisors are always higher-ranking certified f

Implement a personal scheduler windows application

Description: Implement a personal scheduler Windows application. The application should have the following features: Create a new Java Project named SchedulerApp. Add a ne


Write a Review

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd