#include
void main()
{
clrscr() ;
int x ;
float interest, principal, rate, time ;
for (x= 4, x>=0, x - -)
{
cout<<"enter the principal, rate & time: "<<\n ;
cin>>principal >> rate>> time ;
simple interest = (principal * rate * time) / 100 ;
cout<<"principal = Rs. "<
cout<<"rate = "<
cout<<"time = "<
cout<<"simple interest = Rs. "<
}
getch() ;
}
No comments:
Post a Comment