SCHOOL01-Editorial

PROBLEM LINK:

Practice : https://www.codechef.com/problems/SCHOOL01

Contest :https://www.codechef.com/COSK19TS

Author: laks

Editorialist: laks

DIFFICULTY:

CAKEWALK.

PREREQUISITES:

NO.

PROBLEM:

Your program is to use the brute-force approach. Live and Enjoy. Use approach wisely to find the correct answer. Rewrite big numbers from input to output. Stop processing input after reading the number 59. All numbers at the input are integers of one or two digits.

QUICK EXPLANATION:

In this, a problem you have to create a program in which you enter should enter the number and it will print on the screen and after reading 59 it will stop processing.

EXPLANATION:

In this, you have to write code like this first, you have to write while loop for the number of input you have to enter and then, you have to write condition in while loop that input is not equal to 59 if condition true run the loop and print statement (output) otherwise exit if it is 59.

SOLUTIONS:

[details=“Setter’s Solution”]
[https://www.codechef.com/viewsolution/25771356]