SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 311 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 18 Nov 2017 My Price 7.00

how to code so the total number of lines is 50.

Hi

  I am stuck on this Java coding question. I think I am on the right path of solving it but just not sure how to code so the total number of lines is 50.

Please if you could help in shortening my coding.

There are a couple of issues that I have when I ran it:

The secret word is "GO PATRIOTS",  and a letter have to be typed twice before it would show up as part of the secret phrase. The other issue I am having is that it does not display the full secret phrase when you solve it. It just display "GO PATRI**S".

 

Please if you could help me to meet the below criteria.

 

  • judicious use white space (code is properly indented to match the current scope, use of blank lines to separate logic blocks, etc.)
  • properly using String objects to hold strings used to prompt the user
  • a correctly running program
  • use of String methods (Hint: I used charAt, substring, and length in my solution, which is a total of 50 lines of code)

Answers

(5)
Status NEW Posted 18 Nov 2017 06:11 AM My Price 7.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)