mirror of https://github.com/string1995/eee102.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
369 B
30 lines
369 B
|
|
|
|
|
|
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; |
|
} |