Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question:

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.

SAMPLE OUTPUT

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

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92179407
  • Price:- $25

Priced at Now at $25, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Scenario 1 19500 ascii characters are transmitted over a 3

Scenario 1: 19,500 ASCII characters are transmitted over a 3 Mbps circuit. The protocol uses 8-bits to encode each ASCII character, and adds an additional parity bit to help detect errors. Calculate the transmission effi ...

Suppose a record has the following fields in this order a

Suppose a record has the following fields in this order: A character string of length 15, an integer of 2 bytes, a SQL date, and a SQL time (no decimal point). How many bytes does the record take if: Fields can start at ...

Phosphorus pentachloride decomposes according to the

Phosphorus pentachloride decomposes according to the chemical equation PCl5 (g) ---------> PCl3 (g) + Cl2 (g) Kc = 1.80 at 250 degrees C A 0.361 mol sample of PCl5(g) is injected into an empty 4.80 L reaction vessel held ...

Question what sequence of numbers would be printed by the

Question : What sequence of numbers would be printed by the following recursive function if we started it with N assigned the value 1? def Exercise (N): print(N) if (N Exercise(N + 1) print(N)

Write a program that takes as input an xy center value and

Write a program that takes as input an x,y center value and radii for two circles, draws them in a turtle (Python) window, and prints whether they intersect or not. You should show intersecting circles, and show non-inte ...

Relational algebrawrite a relational algebra expression

[Relational Algebra] Write a relational algebra expression that will output first name and last name of computer science major male students who have borrowed books from "University of Iowa Main Library". Relational Sche ...

Section 26 in the smith textbook elementary information

Section 2.6 in the Smith textbook ( elementary information security 2nd edition) offers a list of 6 high-level security controls. Pick two of them and describe how you personally experience those controls in use on perso ...

Question use the information in the video and this weeks

Question: Use the information in the video and this week's in-class presentation to write a 250-300 word short essay describing the purpose of a browser, browser wars, and your favorite browser. Video: Tip 3: Know & Use ...

We are evaluating a project that costsnbsp1140000 has a

We are evaluating a project that costs $1,140,000, has a ten-year life, and has no salvage value. Assume that depreciation is straight-line to zero over the life of the project. Sales are projected at 51,000 units per ye ...

Why would a policy of re-importation of prescription drugs

Why would a policy of re-importation of prescription drugs be ineffective?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As