0

Can someone help im a beginner

Question1 [20 pts]: Write a Java program that calculates and display the perimeter of a triangle having side1 = 5.2, side2 = 4.6 and side3 = 3.0.  Knowing that perimeter of a triangle = side1 + side2 + side3. Sample Run Perimeter of the triangle is 12.8 Question2 [30 pts]: Write a program that requests a bank client to enter three values:  P: the principal amount R: rate T: time in years. Then calculate the simple interest using the following formula: Simple Interest = (P × R × T)/100 Sample Run Enter the principal amount: 2000 Enter the rate of interest: 6 Enter the time period: 3 Simple Interest is: 360.0 Question3 [50 pts]: Write a program that reads from the user the unit price of three products, then calculates and displays the total amount of VAT, new price of each one after adding the VAT, and the new total price.  Assume VAT is a variable with value 10. Total VAT = (price1 + price2 + price3) * VAT/100 newPrice1 = price1 + price1 * VAT/100 [Same for newPrice2 and newPrice3] Total Price = newPrice

16th Jan 2021, 3:22 PM
Has.Aj
Has.Aj - avatar
9 Respostas
+ 5
These look like assignments. Did you try yourself at least trying to declare a variable for the code?
16th Jan 2021, 3:23 PM
minirkk
minirkk - avatar
+ 2
Everything is given in the question itself. The thing that you need to do is to convert the English words into java code.
16th Jan 2021, 3:27 PM
minirkk
minirkk - avatar
0
Thers more for Total price at the end Total price=newprice1+newprice2+newprice3
16th Jan 2021, 3:23 PM
Has.Aj
Has.Aj - avatar
0
No cuz im out of time and need help after i finish it i will review them
16th Jan 2021, 3:25 PM
Has.Aj
Has.Aj - avatar
0
Use Scanner input to take input from user(in case if you don't know about it)
16th Jan 2021, 3:25 PM
Atul [Inactive]
0
Can some one solve it for me i will appreciate that
16th Jan 2021, 3:27 PM
Has.Aj
Has.Aj - avatar
0
https://www.sololearn.com/Course/Java/?ref=app Go through this course if you are new to java programming
16th Jan 2021, 3:29 PM
Atul [Inactive]
0
Ok tnx
16th Jan 2021, 3:30 PM
Has.Aj
Has.Aj - avatar
0
I'm a bignner can someone help me through
17th Jan 2021, 11:14 PM
Sadik M Yousuf
Sadik M Yousuf - avatar