trig calculator

This is a discussion on trig calculator within the C++ Programming forums, part of the General Programming Boards category; just finished my first program which is actually usefull to me.
It just figures out right angle triangles
Code:
#include ...

You could try learning some indentation techniques while you're at it.

I second that notion.

edit: I indented your code for you, and all I have to say is, find a better way... use less variables, clean up your conditional statements, and get rid of the case in void welcome() (which should just be the code in main():

Yes, it's very unlikely, but I just fought of it.
If you had to publish your work some day, and a person switched between the letters, so that the 90degree angle would be B instead of C. Then you would have a problem. But if it's for home use only, then it would do with the 3 if-sentences alone