in Education by
write a Java program for the following : write a program in java to calculate simple interest (SI) for principal amount (P) as ‘125000 with rate (R) as 72% and time (T) as 3years Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: import java.util.Scanner; public class JavaExample { public static void main(String args[]) { float p, r, t, sinterest; Scanner scan = new Scanner(System.in); System.out.print(“Enter the Principal : “); p = scan.nextFloat(); System.out.print(“Enter the Rate of interest : “); r = scan.nextFloat(); System.out.print(“Enter the Time period : “); t = scan.nextFloat(); scan.close(); sinterest = (p * r * t) / 100; System.out.print(“Simple Interest is: ” +sinterest); } } Explanation: change digits and then find and please mark me as brainliest!

Related questions

0 votes
    write a Java program for the following : write a program in java to calculate simple interest (SI) for principal ... (T) as 3years Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    write a program to find the simple intrest, if we input principal, rate, time… formula:si=pxrxt/100 Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    A customer purchased cold drinks of various brands. He purchased 5 bottles at a price of `35 per bottle and ... make him/her brainlest Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    write an alogithum to find out simple interest . Flowchart Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Write a code to obtain fee amount and than calculate fee hike as 10% of fees. Select the correct answer from above options...
asked Dec 9, 2021 in Education by JackTerrance
0 votes
    Write a code to obtain fee amount and than calculate fee hike as 10% of fees. Select the correct answer from above options...
asked Dec 3, 2021 in Education by JackTerrance
0 votes
    Write a program to calculate the distance,speed =120km,time=4hrs Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to store the marks of any 5 subjects in different variables. Calculate total and average. ... ANY INPUT METHOD Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to store the marks of any 5 subjects in different variables. Calculate total and average. ... total and average. Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    write a program to implement a simple calculator for two input number . offers choice through a menu in python Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    29: Write a program in python to make a simple calculator using function Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    write a program in python to enter the mark in 3 subjects and calculate total and assign grade. If total >= 200 ... grade is B' Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
...