A food colour is run on paper next to three known dyes. The solvent rises , and the colour gives two spots, at and . You will make the program find the of each spot, name each dye from a table, and predict how far one dye would rise if the solvent went .
The idea. . In the same solvent, a dye always has the same .
Your tasks.
rf for each spot.best and gap when diff is smaller than gap.far, how far sunset yellow would rise if the solvent rose .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…