I am writing a programme to calculate cosines and I should read the user input for angles given in degree (°) or radians (r). If the angle were to be given in degrees, it sh