#P80. 【例15.1】 整型与布尔型的转换
【例15.1】 整型与布尔型的转换
Description
What is the value obtained when assigning an integer variable's value to a boolean variable, and then assigning that boolean variable's value back to an integer variable?
Input Format
An integer within the range of the integer type, representing the initial value of the integer variable.
Output Format
An integer representing the result after the described process.
Sample
31