diff --git a/practical_exercises/10_day_practice/day9/异常例子/3.cpp b/practical_exercises/10_day_practice/day9/异常例子/3.cpp index bad186e..3783762 100644 --- a/practical_exercises/10_day_practice/day9/异常例子/3.cpp +++ b/practical_exercises/10_day_practice/day9/异常例子/3.cpp @@ -3,11 +3,11 @@ using namespace std; void temperature(int t) { try{ - if(t==100) throw "е㣡"; - else if(t==0) throw "㣡"; + if(t==100) throw "It's at the boiling point."; + else if(t==0) throw "It reached the freezing point"; else cout<<"the temperature is OK..."<