Write a program in JAVA language to take input two strings str1, str2 from the user and form a new string str3 that contains the first 3 characters of both the strings. Given the length of str1 and...


Write a program in JAVA language to take input two strings str1, str2 from the user and form a new string<br>str3 that contains the first 3 characters of both the strings. Given the length of str1 and str2 is 3 or more<br>than 3.<br>Sample Output:<br>Enter str1 = ABCDE<br>Enter str2 = FGHIJ<br>str3 = ABCFGH<br>

Extracted text: Write a program in JAVA language to take input two strings str1, str2 from the user and form a new string str3 that contains the first 3 characters of both the strings. Given the length of str1 and str2 is 3 or more than 3. Sample Output: Enter str1 = ABCDE Enter str2 = FGHIJ str3 = ABCFGH

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here