kk258966

3/5 C++ 作業二

Mar 12th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void)
  4. {
  5. float x=3.5,y=4,z=2.1;
  6. printf("3.5*3.5-4*2.1*4答案為:%.2f",(x*x-y*z*y));
  7.     system("pause");
  8.     return 0;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment