2019-04-14 19:51发布 生成海报
#include #include #include #include #include #include using namespace std; int main(){ double x; long y; long long z; scanf("%lf",&x); double doubleMod = fmod(x,(double)3); printf("The result of x mod 3 is %.2lf ",doubleMod); scanf("%ld",&y); printf("The result of y is %ld ", y); scanf("%lld", &z); printf("The result of z is %lld ", z); return 0; }