C and C++

Write a program to find the frequency of presence of...

#include<iostram.h> #include<iomanip.h> #include<conio.> class frequency{     private:          int n, m[100], ele, freq;     public:          void getdata();         void findfreq();         void display();      }; void frequency::getdata(){     cout<<"Enter the size of the array: ";     cin>>n;     cout<<"Enter "<<n<<" elemens into the array: ";     for(int i=0; i<n; i++)     cin>>m[i];     cout<<"Enter the search element: ";     cin>>ele;...
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);     } };...