Write a program segment that reads 50 numbers entered by the user and display the values…

Write a program segment that reads 50 numbers entered by the user and display the values overs over, 100. Make sure you declare any variables that are needed.