Hi, i'm italian boy and i ask you any help for the level:
Schoolbooks-->Branches-->Insect attack...
I don't know how can i do this exercise...
I need help for the istruction switch what i can't understand what put in:
switch (-->/*variabiles*/<--){
....
}and i've another question, without switch my program is:
-----Code-----
extern void object::Apportieren1()
{
while(true){
bool m, a, d, w, s;
string casem="m", casea="a", cased="d", casew="w", cases="s";
if(keypushed(casem)){
fire(0.5);
}
else{
if(keypushed(casea)){
turn(10);
}
else{
if(keypushed(cased)){
turn(-10);
}
else{
if(keypushed(casew)){
aim(20);
}
else{
if(keypushed(cases)){
aim(-20);
}
}
}
}
}
}
}
----End code----
Please help me and answer my doubts
Thanks ...
Giacomo