please give me an example of program that sorts this struct memeber
struct new
{
int id;
};
new type;
void main()
{
cout<<"how many id's\n";
cin>>n;
for(int i=0;i<=n-1;i++)
{
cout<<"enter id\n";
cin>>type.id;
}
fill out put too please
struct new
{
int id;
};
new type;
void main()
{
cout<<"how many id's\n";
cin>>n;
for(int i=0;i<=n-1;i++)
{
cout<<"enter id\n";
cin>>type.id;
}
fill out put too please
Comment