Question: 6: Position prompt correcta Output differs. See highlights below. Input The quick brown fox jumped over the lazy dog jumped 18 leaped Your output starts

 6: Position prompt correcta Output differs. See highlights below. Input The
quick brown fox jumped over the lazy dog jumped 18 leaped Your
output starts with Enter a long string: Enter a substring: Length of
your string: 44 Length of your substring: 6 Starting position of your
mubatring: 20 string before your substring: The quick brown tox String after
your substring: over the lazy dog Enter a position between 0 and
44: Expected output starts with Enter a long string: Enter a substring:
Length of your string: 44 Length of your substring: 6 Starting position
of your substring: 20 String before your substring: The quick brown fox

6: Position prompt correcta Output differs. See highlights below. Input The quick brown fox jumped over the lazy dog jumped 18 leaped Your output starts with Enter a long string: Enter a substring: Length of your string: 44 Length of your substring: 6 Starting position of your mubatring: 20 string before your substring: The quick brown tox String after your substring: over the lazy dog Enter a position between 0 and 44: Expected output starts with Enter a long string: Enter a substring: Length of your string: 44 Length of your substring: 6 Starting position of your substring: 20 String before your substring: The quick brown fox String after your substring: over the lazy dog Enter a position between 0 and 43: 7. Character at position correct A Output differs. See highlights below. Input The quick brown fox jumped over the lazy dog jumped 19 leaped Your output starts with Enter a long string: Enter a substring: Length of your string: 44 Length of your substring: 6 starting position of your substring: 20 string before your substring: The quick brown tox String after your substring: over the lazy dog Entor a position between 0 and 44: The character at position 18 i x Expected output starts with Enter a long string: inter a substring: Length of your string: 44 Length of your substring: 6 starting position of your substring: 20 string before your substring: The quick brown fox string after your substring: over the lazy dog Enter a position between 0 and 48: The character at position 18 1 x 8. Replacement string prompt Output differs. See highlights below Input The quick brown fox jumped over the lazy dog Sumped 19 Leapad Enter a long string: Enter a substring: Length of your string: 44 Length of your substring: 6 starting position of your substring: 20 "Your output starts a sering belore your substeing: The quick brown fox with string after your substring: over the lazy dog Enter a position between 0 and 44: The character at position 18 is x Enter a replacement string: Expected output starts with Enter a long string: Enter a substring: Length of your string: 44 Length of your substring: 6 starting position of your substring: 20 string before your substring: The quick brown fox string after your substring: over the lazy dog Enter a position between 0 and 45: The character at position 18 de x Enter a replacement string: OM 9 New String Correct A 0/1 Output differs. See highlights below. Input The quick brown tox jumped over the lazy dog jumped 18 leaped Your output starts with Enter a long string: Enter a substzing: Length of your string 44 Length of your substring: 6 Starting position of your substring: 20 string before your substring: The quick brown Fox string after your substring: over the lazy dog Enter a position between 0 and 44: The character at position 18 i x Enter a replacement atring: Your new string at the quick brown fox loa Expected output starts with Enter a long string: Enter a substring: Length of your string: 44 Length of your substring: 5 Starting position of your substring: 20 String before your substring: The quick brown tox string after your substringi Over the lazy dog Enter a pouition between 0 and 48: The character at position 10 i Enter a replacement string: Your new string at the quick brown fox loaf 10: Full output - quick brown fox from specification above Output differs. See highlights below. Input The quick brown fox jumped over the lazy dog jumped 18 leaped Enter a long string: Ente a substring: Length of your string: 44 Length of your substring: 6 Starting position of your substring: 20 string before your substring: The quick brown fox String after your substring: over the lazy dog Enter a position between 0 and 44: The character at position 18 id x Enter a replacement string: Your new string in: The quick brown fox loa Goodbye Your output Expected output Enter a long string: Enter a substring: Length of your string: 14 Length of your substring: 6 Starting position of your substring: 20 String before your substring: The quick brown fox string after your substring: Over the lazy dog Enter a position between 0 and 48: The character at position 18 is * Enter a replacement string: Your new string ie: The quick brown fox leag Goodbye! 11: Fll output - Shakespeare quote from specification above 071 Output differs See highlights below. Friends, Romans, countrymen, lend me your ears tey Input 21 catch Your output Entor a long string: Enter a substring: Length of your string: 46 Length of your substring: 3 Star position of your substring: 21 string before your substring: Friends, Romans, coun String after your substring: web, lend me your ears Enter a position between 0 and 46: The character at position 21 st Enter a replacement string: Your new string is: Friends, Romans, councat Goodbye Expected output Enter a long string: Enter a substring: Length of your string: 46 Length of your substring: 3 Starting position of your substring: 21 string before your substring: Friends, Romans, coun string after your substring: men, lend me your ears Enter a position between 0 and 45: The character at position 21 ist Enter a replacement string: Your new string is: Friends. Romans, councat Goodbye! 12: Full output Shakespeare alternate A 071 Output differs. See highlights below. Input Now is the winter of our discontent winter 2 spring Your output Enter a long string: Enter a substring: Length of your string: 35 Length of your substring: 6 starting posite of your substring: 11 String beyour substring: Now is the String after your substring: of our discontent Enter a position between 0 and 35: The character at position 2 is w Enter a replacement string: Your new string is: Now is the spring of our Goodbye! Expected output Enter a long string: Enter a substring: Length of your string: 35 Length of your substringe 6 Starting position of your substring: 11 string before your substring: Now is the String after your substring: of our discontent Enter a position between 0 and 34: The character at position 2 is w Enter a replacement string: Your new string is: Now is the spring of our Goodbye! 13: Full output - Wild Of Oz opening line A Output differs. See highlights below Input Dorothy lived in the midst of the great Kansas prairies Kansas 6 Nebraska Your output Enter a date strng: Enter a substring: Length of your string: 55 Length of you -ubstring: 6 Starting pution of your substring: 40 string before your substring: Dorothy lived in the midst of the great string after your substring: prairies Enter a position between 0 and 55: The character at position 6 is y Entor replacement string: Your new string is: Dorothy lived in the mi Goodbye! Expected output Enter a long string: Enter a substring: Length of your string: 55 Length of your substring: 6 Starting position of your substring: 40 String before your substring: Dorothy lived in the midst of the great string after your substring: prairies Enter a position between 0 and 54: The character at position 6 is y Enter a replacement string: Your new string is: Dorothy lived in the mic Goodbye 14 Just for fun 071 Output differs. See highlights below. Input Programming in Java is funt fun 3 interesting Your output Enter a long string: Enter a substring: Length of your string: 27 Length of your substring: 3 Starting position of your substring: 23 String be ore your substring: Programming in Java is Steter your substring: 1 Enter a position between 0 and 27: The character at position 3 is g Enter a replacement string: Your new string is: Programming in Java is Goodbye! Expected output Entor a long string: Enter a substring: Length of your string : 27 Length of your substring: 3 Starting position of your substring: 23 String before your substring: Programming in Java is string after your substring: Enter a position between 0 and 26: The character at position 3 Entor a replacement string: Your new string 1st Programming in Java in Goodbye

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!