//Given that h = 1 //(say) f = 40 //in cm hdash = .20*h //Sample Problem 35-1a printf("**Sample Problem 35-1a**\n") printf("The image is virtual & on the opposite side of mirror because of having same orientation\n") //Sample Problem 35-1b printf("\n**Sample Problem 35-1b**\n") printf("The height of image is smaller than the object. Therefore, the mirror is concave\n")