Make a program the speed on the road section should not exceed 30 km / h.

Make a program the speed on the road section should not exceed 30 km / h. determine if the driver has violated the traffic rules.

program zz1;
var a: integer; // set a variable of integer type
begin
write (‘enter the vehicle speed’); // enter a number from the keyboard
read (a);
if (a> 30) // check the speed of movement, if more than 30, then
then write (‘the driver of the car violated the traffic rules’) // display one answer
else write (‘the driver of the car did not violate the traffic rules’); // print another answer
end.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.