Think about the next issues, design the algorithms that will remedy them, after which implement the algorithm in Java.
You’re free to decide on between writing pseudo-code or drawing flowcharts. Ensure to incorporate screenshots of your working packages. You may take screenshots utilizing PrintScreen of the console window wherein you run this system. Put your algorithm and the screenshots collectively in a Phrase doc.
Drawback 1:
Write a program that prompts the person for a measurement in meters, after which converts it in to miles, ft, and inches.
Drawback 2:
Write a program that reads in an integer, and breaks it right into a sequence of particular person digits. Show every digit on a separate line.
For instance, the enter 16384 is displayed as
1
6
3
eight
four
It’s possible you’ll assume that the enter has not more than 5 digits and isn’t unfavourable.
Drawback 3:
Write a program that asks the person to enter:
The variety of gallons of gasoline within the tank
The gas effectivity in miles per gallon
The value of gasoline per gallon
Then print the associated fee per 100 miles and the way far the automotive can go together with the gasoline within the automotive.
Drawback four:
Write a program that asks the person to enter the title of his or her favourite metropolis. use a String variable to retailer the enter. This system ought to show the next:
The variety of characters within the metropolis title
the title of town in all uppercase letters
the title of town in all decrease case letters
the primary character within the title of town
Drawback 5:
Learn a phrase from the person and show the string with the letters shifted to the correct by two positions and with the letters shifted to the left by two positions within the string. Save all the three strings in separate variables and show all three of them on the finish of this system.
Submission:
You’re required to submit the next recordsdata for this task by clicking the Submit Project button above. Ensure all the following required recordsdata have been connected earlier than you submit the task.
You need to create one Java file for every downside and save them multi functional folder. Compress the folder as a .zip file and submit it right here. Please title your .zip file as P3-Final Identify-First Nam.zip. For instance, P3-Smith-John.zip.
A Phrase doc containing the algorithms and the screenshots of the working packages for all the 5 issues. Please title your Phrase doc as P3-Final Identify-First Identify.docx or .doc. For instance, P3-Smith-John.docx.
This wants to incorporate all the pieces
.5 Algorithms
. 5 Java Applications
. 5 Screenshots