mirror of https://github.com/string1995/eee102.git
parent
ccb38cd2f1
commit
140184a7f8
1 changed files with 0 additions and 30 deletions
@ -1,30 +0,0 @@ |
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
int main() |
|
||||||
{ |
|
||||||
|
|
||||||
/*
|
|
||||||
Fraction f(-4,1); |
|
||||||
Fraction g(-5,1); |
|
||||||
f /= g; |
|
||||||
|
|
||||||
Fraction l = 3.12; |
|
||||||
|
|
||||||
double c; |
|
||||||
|
|
||||||
|
|
||||||
// for(int i =0; i < a.size(); i++) cout << a[i] <<endl;
|
|
||||||
|
|
||||||
try{ |
|
||||||
while(1){ |
|
||||||
cout << l << endl; |
|
||||||
cin >> l;} |
|
||||||
|
|
||||||
//repeated_decimal_to_fraction(2.666);
|
|
||||||
}catch(const char* msg){ |
|
||||||
cerr << msg << endl; |
|
||||||
}*/ |
|
||||||
|
|
||||||
return 0; |
|
||||||
} |
|
Loading…
Reference in new issue