When asking for help with error messgaes, PLEASE INCLUDE THE ERROR MESSAGE in it's entirity.
Lines 4,6: Correct header file names are <iostream> and <iomanip>. C++ headers do not use the .h suffix.
Line 7: You're missing
using namespace std;
Line 12: You misspelled cel as cal. This causes cel to be undefined.
Lines 16,17: You're using degree in calculations, but you haven't initialized it.
Line 17: You have unmatched parentheses.
Lines 24,31,46,50: You can't write a comparison wth an implicit left hand side. You need to write it as follows:
|
if (type=='F' || type=='f')
|
Lines 24,31: You're using bitwise or (|), not logical or (||).
Line 28: You used degrees which doesn't exist. The variable defined is named degree.
Line 48: That statement does nothing. It's a comparison and the result of the comparison is ignored. Did you mean assignment?
ans='y');