判断题

定义C++的float型变量N,则语句cin >> N; cout << int(float(N))可以输⼊正负整数和浮点数, 并将其转换为整数后输出。(  )

A.
正确
B.
错误

发表评论

登录 后再回复