This Java program calculates simple interest given principal, time, and rate as command line arguments. It parses the command line arguments to the appropriate data types, performs the simple interest calculation of principal * time * rate / 100, and prints the result.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
38 views
Java Exp 6
This Java program calculates simple interest given principal, time, and rate as command line arguments. It parses the command line arguments to the appropriate data types, performs the simple interest calculation of principal * time * rate / 100, and prints the result.