Calculate dog age to human years netbeans java | computer science | Austin Peay State University
For this assignment you must use the rules above to calculate the age of a dog in human
years given its weight and its actual age. Your program must do the following:
1.
Display a welcome message with your name in it.
2.
Prompt the user for the name of the dog.
3.
Repeatedly prompt the user for the age of the dog until the user enters a value is
between 1 and 16.
4.
Repeatedly prompt the user for the weight of their dog until the user enters a weight
that is greater than zero.
5.
Display the age of the dog using the name that the user entered in step 2.
6.
Repeatedly ask the user if they want to calculate the age of another dog until the user
answers
Y
or
N
.
7.
If the user enters
Y
, go back to step 2.
8.
If the user enters
N
, display a thank you message and exit the program.
Any time the user enters invalid input the program should display an error message before

How it Works

1
It only takes a couple of minutes to fill in your details, select the type of paper you need (essay, term paper, etc.), give us all necessary information regarding your assignment.


2
Once we receive your request, one of our customer support representatives will contact you within 24 hours with more specific information about how much it'll cost for this particular project.


3
After receiving payment confirmation via PayPal or credit card – we begin working on your detailed outline, which is based on the requirements given by yourself upon ordering.


4
Once approved, your order is complete and will be emailed directly to the email address provided before payment was made!