Computer Science, asked by kritanjaliyadav8a, 1 month ago

1. WAP to input principal, rate then find the Simple interest for 3 years.
2. WAP to input length and breadth then find the area and perimeter of rectangle.

Answers

Answered by vsb26vsb
0

Answer:

KnowledgeBoat

Question

Write a program to input Principal (p), Rate (r) and Time (t). Calculate and display the amount, which is compounded annually for each year by using the formula: Simple Interest: (si) = (prt) / 100 p = p + si [Hint: The amount after each year is the Principal for the next year]

Answer · 3 votes

import java.util.Scanner; public class KboatCompoundInterest { public static void main(String args[]) { Scanner in = new Scanner(System.in); System.out.print("E ...

More

Similar questions