Write an algorithm that receives fruit names from user and prints them on the screen. This algorithm should keep receiving fruit names and printing them on the screen until the user enters ‘X’ as the fruit name. Upon entering ‘X’ you should exit from the algorithm.