Team Topic Nest

About Author

1090

Articles Published
C++
C and C++

C++ program for the simple interest using dynamic initialization

#include<iostream.h> #include<conio.h> class SI{         int P, T;         float R, Interest;     Public:         SI(){         }     SI(int P1, int T1, float R1)     {         P=P1;         T=T1;         R=R1;         Interest=(P*T*R)/100;     }     float     {         return(Interest);     } };...