Answer:
if speed < 0:
reverseDrivers +=1
elif speed < 1:
parkedDrivers +=1
elif speed < 40:
slowDrivers +=1
elif speed<=65:
safeDrivers +=1
else:
speeder +=1
Explanation:
The statements are written in python programming language
See a complete code screenshot attached, where all the variables are defined
Answer:
Charles Babbage invented computer.
hope this helps!
Answer:
Hello there, I dont think there is a way to change you age, but maybe you shall try again tomorrow and see if an error message pop up. If the Error Message pops up, contact custumaor support!
Glad I could Help!
Answer:
scope
Explanation:
Destructor is a member function and it call automatically when the class object goes out of scope.
Out of scope means, the program exit, function end etc.
Destructor name must be same as class name and it has no return type.
syntax:
~class_name() { };
For example:
class xyz{
xyz(){
print(constructor);
}
~xyz(){
print(destructor);
}
}
int main(){
xyz num;
}//end program
when the object is create the constructor will called and when the program end destructor will call automatically.