Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

hello Don't use your handwriting please the answer in java language Write a program that stores your full name (first, middle and last name) in

hello

Don't use your handwriting please

the answer in java language

image text in transcribed

Write a program that stores your full name (first, middle and last name) in a String variable. Print your name. Then check your name's length: Ifthe length is greater than 25, then change vour name to only first and last name and print it. If the length is less or equal to 25, then keep your name the same, and print it. Besides writing down your codes in the answer, make sure you provide a screenshot of your code and the output. Any student who does not providea screenshot shall get zero mark for this question These are a screenshots of the same program with different names: Bushra Mohaned Alsulayyim your name is lengthy name after cuttig the middle name: Bushra Alsulayim ushra Wohd Aloularyi Output2youtly ed to cut the ndde ae s e o leatty

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago

Question

8. How would you explain your decisions to the city council?

Answered: 1 week ago