#include <iostream> using namespace std; int main() { class find { private: int num; public : void getdata(); void calculate(); };
To embed this program on your website, copy the following code and paste it into your website's HTML: