Wipro Interview Question

write a program for gear of a bike