Program to calculate simple interest by using function (no return, no argument)

#include
#include
main()
{
viod sint();
sint();
}
viod sint()
{
int p,r,t,si;
clrscr();

cout<>p;

cout<>r;

cout<>t;

si=(((p*r*t))/100);
cout<<"n Calculate the simple interst is :"<<si;
getch();
}

Leave a reply