#include<iostream>
#include<cstdio>
using namespace std;
class sample
{
private:
int rollno;
float marks;
char name;
public:
sample(char c)
{
name=c;
}
void veriation()
{
cout<<name;
}
};
int main()
{
int i;
char m[100],g;
i=0;
while((g=cin.get())!=EOF)
{
sample smp(g);
smp.veriation();
}
return 0;
}
#include<cstdio>
using namespace std;
class sample
{
private:
int rollno;
float marks;
char name;
public:
sample(char c)
{
name=c;
}
void veriation()
{
cout<<name;
}
};
int main()
{
int i;
char m[100],g;
i=0;
while((g=cin.get())!=EOF)
{
sample smp(g);
smp.veriation();
}
return 0;
}
No comments:
Post a Comment