TAB

One of the works done by our Robotics and Machine Learning division,
SELF-LEVELING QUADCOPTER
Arduino based Quadcopter.
Self-leveling is acheived by the aligning the quadcopter using the readings from the gryo as well as the accelerometer.
A four channel RC transmitter is used to control the movement of the quadcopter when in flight. Kindly subscribe to our YouTube Channel and stay tuned.

Tuesday 8 March 2016

PRACTICE PROBLEM 4:stock

void item::get()
{
cin>>prod_name;
cin>>prod_code;
cin>>prod_price;
cin>>stock_In_Hand;
}
void item::print() const
{
cout<<prod_name<<endl;
cout<<prod_code<<endl;
cout<<prod_price<<endl;
cout<<stock_In_Hand<<endl;
}
void store::get_details()
{
int i;
cin>>num_Of_Items;
for(i=0;i<num_Of_Items;i++)
{
items[i].get();
}
}
void store_keeper::stock_mgmt(store &s)
{
int i;
for(int i=0;i<s.num_Of_Items;i++)
{
if(s.items[i].stock_In_Hand<10)
s.items[i].print();
}
}

No comments:

Post a Comment