我正在编写一个计算整数阶乘的程序.但是,我坚持的部分是如果有人输入非整数,例如1.3,我希望能够测试输入和显示 "The number you have entered is not an integer"
1.3
"The number you have entered is not an integer"
matlab integer
integer ×1
matlab ×1