执行下列程序,输出的结果是( )。
#include <iostream> using namespace std; int main(){ int a=8,b=10; float c; c=b/a; cout<<c; return 0; }
0.8
1
1.25
0.0
发表评论