Computer Science, asked by rinivalaparla, 8 months ago

W Q-1Coding Type QuestionRam wants to keep a profile picture on Gmail Gmail has some restriction over thedimension of the picture that we can upload. The minimum dimension of the picture canbe Lx L, where L is the length of the side of the square.Dimension of a photo is denoted as W x H, where W - width of the photo and H - Height ofthe photoWhen any photo is uploaded following events may occur:1. If any of the width or height is less than L, the user is prompted to upload another one.Print "CHANGE" in this case.2. If width and height, both are large enough and(a) if the photo is already square and size is L x L then it is accepted. Print "ACCEPTED"in this case(b) else user is prompted to crop it Print "CROP" in this case.Input formatThe input contains L and followed by two space-separated integers W and H in next lineOutput formatPrint appropriate text for each photo in a new line.The output should be in Uppercase.Code constraints​

Answers

Answered by ExpressaYourself
2

Answer:

please ask questions in parts noone can't understand such a big question

Similar questions