Home
About Us
Privacy Policy
Terms and Conditions
Copyright
Contact Us
Register
Sign In
Search
Questions
itraa2000
@itraa2000
June 2021
1
47
Report
Please if you don't know don't answer.
Answers & Comments
Rajdeep11111
HELLO FRIEND!!
Your question is not properly understandable, but let me try it;
It is saying to accept the salvage price, purchase price, years of price, and will calculate the yearly description of value of an item.
If so, here is your program, and I'm using Scanner class:
import java.util.*;
class Description
{
public static void main (String args[])
{
Scanner sc = new Scanner (System.in);
int pprice, sprice, yprice;
double descp;
System.out.print("Enter the purchase price: ");
pprice = sc.nextInt();
System.out.print("Enter the salvage price: ");
sprice = sc.nextInt();
System.out.print("Enter the years of price: ");
yprice = sc.nextInt();
descp = (double) (pprice - sprice)/yprice;
System.out.println("The description is: " + descp);
}
}
Refer to the attachment for the output.
HOPE MY ANSWER IS SATISFACTORY...
THANKS!
3 votes
Thanks 5
Rajdeep11111
THANKS!
Add an Answer
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
More Questions From This User
See All
itraa2000
July 2022 | 0 Replies
6&8 only answer it fast it's urgent...
Answer
itraa2000
June 2022 | 0 Replies
Try this problem to help me...
Answer
itraa2000
June 2022 | 0 Replies
Please answer it fast it's urgent...
Answer
itraa2000
September 2021 | 0 Replies
hi guys answer it fast...
Answer
itraa2000
September 2021 | 0 Replies
Answer it fast it's urgent...
Answer
itraa2000
September 2021 | 0 Replies
hi please answer question in sanskrit language...
Answer
itraa2000
September 2021 | 0 Replies
write short note on crops for Europe...
Answer
itraa2000
September 2021 | 0 Replies
answer it pleaseIn sanskrit...
Answer
itraa2000
September 2021 | 0 Replies
By which way British authority pacified the rebel of 1857?...
Answer
itraa2000
September 2021 | 0 Replies
hi guys answer it fast it's urgent PLZ please...
Answer
Recommend Questions
normaica19
November 2022 | 0 Replies
pasagot ngayon na ito ipapasa please
faithvalerieturno
November 2022 | 0 Replies
how do early beliefs about constellations effect human culture
Muning1027
November 2022 | 0 Replies
yung tama po pls kailangan ko na bukas na talaga po submit ng modules ko
neshthmd
November 2022 | 0 Replies
is a disease causing organism that lives in humans or other animals and derives ...
gamboelise83
November 2022 | 0 Replies
or directionbf361c2d468f8ffa07252b7f7f4e2a8d 39180
laimarnisle
November 2022 | 0 Replies
What are the possible solution that may help the preservation of our flora and f...
duermejhonber
November 2022 | 0 Replies
why are there differrence between the colling rates of sand and water
namronlamoste24
November 2022 | 0 Replies
supernova elements form...
princeclarkcasipe30
November 2022 | 0 Replies
It is responsible for the extractions og energy from the food we eat...
faderonprincessmae
November 2022 | 0 Replies
please help me if you help me i will follow you
×
Report "Please if you don't know don't answer..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
About Us
Privacy Policy
Terms and Conditions
Copyright
Contact Us
Helpful Social
Get monthly updates
Submit
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Your question is not properly understandable, but let me try it;
It is saying to accept the salvage price, purchase price, years of price, and will calculate the yearly description of value of an item.
If so, here is your program, and I'm using Scanner class:
import java.util.*;
class Description
{
public static void main (String args[])
{
Scanner sc = new Scanner (System.in);
int pprice, sprice, yprice;
double descp;
System.out.print("Enter the purchase price: ");
pprice = sc.nextInt();
System.out.print("Enter the salvage price: ");
sprice = sc.nextInt();
System.out.print("Enter the years of price: ");
yprice = sc.nextInt();
descp = (double) (pprice - sprice)/yprice;
System.out.println("The description is: " + descp);
}
}
Refer to the attachment for the output.
HOPE MY ANSWER IS SATISFACTORY...
THANKS!