#include <iostream>
using namespace std;
class student {
public:
string n;
float result;
void setName(string name){
n = name;
}
void getName (){
cout<<"your name is "+n;
}
};
float Armstrong (float num){
float result = num;
for(int i=0; i<5; i++){
}
return result;
}
int main()
{
student s1;
s1.setName("vikas");
s1.getName();
return 0;
s1.Armstrong(56);
cout<<result;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: