There is no doubt that sir Usman is best and disciplined teacher in International Islamic University islamabad.
Is data structure sir usman start to teach Stack at the start of course , then after one or two weaks you should be prepare for first Quiz related to previous study in classes.
Please there is no teacher as good as sir usman in whole university,he struggle and often sometimes live in university from morning to evening.
The First quiz will be from Stack Application .
Conversion From Decimal to Binary Number
void cnvert()
{
Stack<int> obj(15);
int p;
cout<<"enter number you want to convert into binary"<<endl;
cin>>p;
while(!obj.Is_Full()&&p>0)
{
obj.Push(p%2);
p=p/2;
}
while(!obj.Is_Empty())
{
p=obj.pop();
cout<<p;
}
}
Is data structure sir usman start to teach Stack at the start of course , then after one or two weaks you should be prepare for first Quiz related to previous study in classes.
Please there is no teacher as good as sir usman in whole university,he struggle and often sometimes live in university from morning to evening.
The First quiz will be from Stack Application .
Conversion From Decimal to Binary Number
void cnvert()
{
Stack<int> obj(15);
int p;
cout<<"enter number you want to convert into binary"<<endl;
cin>>p;
while(!obj.Is_Full()&&p>0)
{
obj.Push(p%2);
p=p/2;
}
while(!obj.Is_Empty())
{
p=obj.pop();
cout<<p;
}
}
0 comments:
Post a Comment