2023 Consider the following problems design the algorithms that would solve them and then implement the | Assignment Collections

Computer Science 2023 Computers Pro 3

2023 Consider the following problems design the algorithms that would solve them and then implement the | Assignment Collections

 

Consider the following problems, design the algorithms that would solve them, and then implement the algorithm in Java.

You are free to choose between writing pseudo-code or drawing flowcharts. Make sure to include screenshots of your running programs. You can take screenshots using PrintScreen of the console window in which you run the program. Put your algorithm and the screenshots together in a Word document.

Problem 1:

Write a program that prompts the user for a measurement in meters, and then converts it in to miles, feet, and inches.

 

Problem 2:

Write a program that reads in an integer, and breaks it into a sequence of individual digits. Display each digit on a separate line.

For example, the input 16384 is displayed as

1

6

3

8

4

You may assume that the input has no more than five digits and is not negative.

Problem 3:

Write a program that asks the user to input:

  • The number of gallons of gas in the tank
  • The fuel efficiency in miles per gallon
  • The price of gas per gallon

Then print the cost per 100 miles and how far the car can go with the gas in the car.

Problem 4:

Write a program that asks the user to enter the name of his or her favorite city. use a String variable to store the input. The program should display the following:

  • The number of characters in the city name
  • the name of the city in all uppercase letters
  • the name of the city in all lower case letters
  • the first character in the name of the city

Problem 5:

Read a word from the user and display the string with the letters shifted to the right by two positions and with the letters shifted to the left by two positions in the string. Save all of the three strings in separate variables and display all three of them at the end of the program.

Submission:

You are required to submit the following files for this assignment by clicking the Submit Assignment button above. Make sure all of the following required files have been attached before you submit the assignment.

  • You should create one Java file for each problem and save them all in one folder. Compress the folder as a .zip file and submit it here. Please name your .zip file as P3-Last Name-First Nam.zip. For example, P3-Smith-John.zip
  • A Word document containing the algorithms and the screenshots of the running programs for all of the five problems. Please name your Word document as P3-Last Name-First Name.docx or .doc. For example, P3-Smith-John.docx.

This needs to include everything 

.5 Algorithms 

. 5 Java Programs

. 5 Screenshots

 

We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.

Place Order Now

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational