#include #include main() { void sint(int,int,int); int p,r,t; clrscr(); cout<>p; cout<>r; cout<>t; sint(p,r,t); } void sint(int x,int y,int z) { int si; si=(x*y*z)/100; cout<<"n Calculate simple interest:"<<si; getch(); }
#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(); }