Code:
/* To create a bank application capable of finding an interest */
class bank
{
public void enter ( double principal , double rate_of_interest , double time )
{
double SI = (principal * rate_of_interest * time) / (100.0);