"> (solution)- Object Oriented App development You will write a short Java application that uses a lo"> Paper Detail – Transwriters

(solution)- Object Oriented App development


Description

High Quality Soution Download


The Question

You will write a short Java application that uses a loop control structure. Use the Scanner class to accept a number between 1 and 10 from the user. While the number entered is not between 1 and 10 (inclusive), an error message will be displayed ?The number entered was not between 1 and 10!? and the program will loop back to prompt the user for another number. If the number entered is between 1 and 10 (inclusive), the application will display a message ?Good job! The number you entered is ? and the program will end. Do not use a break statement in your program. Take a screenshot to verify that your message is displayed successfully. Cut and paste the screenshot into a Word document and attach this document to your submission.



Submit your .java file as one zipped folder.

 


Solution details

Solution #000479098251

(solution)- Object Oriented App development.zip

Kindly, dont forget to rate me.

body preview (115 words)

package xxxxxxxxxxxxxxxxx

 

 

?

 

 

xxxxxx xxxxxxxxxxxx

 

 

xxx

 

 

?*

 

 

xxx @author?

 

 

?*/

 

 

xxxxxx xxxxx JavaApplication1 x

 

 

? xxxx

 

 

xxxxxxx static xxxxxxx xxxxxx = xxxxxx //used to check validity of xxx xxxxxx

 

 

?

 

 

?

 

 

xx

 

 

? ?public xxxxxx xxxx main(String[] args) x

 

 

xx

 

 

while(number==false) xx xxxx

 

 

x

 

 

xx ? xxx n;

 

 

? ? System.out.println("Please enter x xxxxxx xxxx 1 xx 10: xxx

 

 

xx ? Scanner xxxxx x new xxxxxxxxxxxxxxxxxxx //input xxxxxxx

 

 

xx ? n = xxxxxxxxxxxxxxxx

 

 

xx

 

 

xx xx xx (n>xx && x

 

 

xx ? ? xx {

 

 

xx ? xx ? xx xx xxx xxxxxx xxxx xxxxxxx x and 10, display the xxxxxxx

 

 

? xx ? xx System.out.println("Good xxxx xxx number you xxxxxxx xx xxxxxxxxx

 

 

? ? xx ? xxxxxxx xxxxx xx Change the value of xxxxxx xx xxxx xxx xxxx

 

 

? ? xx xx }

 

 

xx ? else ?// if x xxxx xxx lie between 1 xxx 10

 

 

? ? xx xx x

 

 

xx xx ? xx xxxxxxxxxxxxxxxxxxxxxxx number entered xxx not xxxxxxx 1 and xxxxxxxx

 

 

? xx ? xxxx

 

 

xx xx ? xx x

 

 

xx

 

 

x

 

 

xx

 

 

}

 

 

x

file1.zip preview (123 words)

javaapplication1/JavaApplication1.java

 

 

xxxxxxx javaapplication1;

 

 

xxxxxx xxxxxxxxxxxx

 

/**

 

x

 

x @author

 

xx

 

xxxxxx xxxxx JavaApplication1 x

 

 

xxxxxxx xxxxxx boolean xxxxxx = false; //used to xxxxx xxxxxxxx xx xxx xxxxxx

 

 

 

 

public xxxxxx xxxx main(String[] xxxxx x

 

 

xxxxxxxxxxxxxxxxxxxx // xxxx

 

x

 

int n;

 

xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx a number from x to xxx xxx

 

Scanner xxxxx = new xxxxxxxxxxxxxxxxxxx //input integer

 

x = xxxxxxxxxxxxxxxx

 

 

xx xx>=0 && x<=10) //condition xx x xxxx between x xxx 10

 

x

 

xx xx xxx number lies between 1 and 10, display the message

 

System.out.println("Good xxxx xxx number you xxxxxxx is xxxxxxxxx

 

xxxxxxx true; xx Change xxx value xx number to exit xxx xxxx

 

}

 

xxxx // if n xxxx not lie xxxxxxx x xxx 10

 

{

 

xxxxxxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxx was xxx between 1 and 10!");

 

 

x

 

 

x

 

 

x

 

}

 

 

 

2.PNG

 

 

xxxxxxxxxxx

 

 

xxxxxxxxxxxx

 

 

 

Uploaded by: Tutor

Answer rating:

This paper was answered on 19-Jul-2017

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Jul 19, 2017

EXPERT

Tutor

ANSWER RATING

TUTORIAL SOLUTIONS

We have high quality solutions you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

DO MY HOMEWORK?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a new homework help. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR ORDER WILL BE DELIVERED WITHIN A DEADLINE.

Order Now