WAP to find simple interest.

1 year ago
OOP Java

Compile code:

class Si{
public static void main(String[] args) {
        
      int p=10,t=1,r=3,si;
      si =p*t*r/100;

      System.out.println("Simple interest of these numbers: "+si);
   }
}

Code:

0
Dipti KC
Jan 8, 2023
More related questions

Questions Bank

View all Questions