class SI{ public static void main(String args[]){ float Principal = 10000; double Rate_of_interest = 4.5; int No_of_year = 4; double Si; Si = Principal*Rate_of_interest*No_of_year; Si= Si/100; System.out.println("\n Simple interest on a Principal: "+Principal+" is "+Si+" at the rate of "+Rate_of_interest+" For time "+No_of_year+""); } } OUTPUT Simple interest on a Principal: 10000.0 is 1800.0 at the rate of 4.5 For time 4
Hello! Welcome to my Technical blog. My Name is Rakesh Kumar and I’ve more than 7 years of experience in Linux and Open Source technologies. If you are looking for technical information about Linux(Server Hardening, Diagnostics & Troubleshooting etc), Ansible, OpenStack Cloud Solution, Containers(K8s/OCP), DevOps, Machine Learning and Nagios Event Monitoring tool.... you have come to the right place. "I believe Learning and earning shouldn't stop", This is my story!