A vernier callipers reads finer than a ruler because of its sliding scale. You will make the program find the least count of three verniers, read a bolt with each, and correct a reading for a zero error.
The idea. If vernier divisions fill main divisions of :
and the correct reading is the observed reading minus the zero error.
Your tasks.
least_count(n) return the least count in millimetres.reading(main, line, n) return the reading in millimetres.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…