实验_分数通includecmath后使用绝对值函数abs需要此头文件.pdfVIP

  • 0
  • 0
  • 约6.24千字
  • 约 6页
  • 2023-01-31 发布于北京
  • 举报

实验_分数通includecmath后使用绝对值函数abs需要此头文件.pdf

#includeiostream #includecmath //后使用绝对值函数abs()需要此头文件 #includestdlib.h //后使用函数system(pause)需要此头文件 using namespace std; class Fraction //分数类 { public: Fraction(int a=0,int b=0); //构造函数 Fraction(Fra

文档评论(0)

1亿VIP精品文档

相关文档