文件名称:7
介绍说明--下载内容均来自于网络,请自行研究使用
Write a program that uses sentinel-controlled repetition to take an integer as input, and passes it to a function even which uses the modulus operator to determine if the integer is even. The function even should return 1 if the integer is even, and 0 if it is not.
The program should take the value returned by the function even and use it to print out a message announcing whether or not the integer was even
The program should take the value returned by the function even and use it to print out a message announcing whether or not the integer was even
(系统自动生成,下载前可以参看下载内容)
下载文件列表
7.CPP