- Try omitting the little & sign in scanf.
What will happen?
- Try putting \n in scanf after %d.
What will happen?
- You know, these are two of the simplest mistakes that cause lots of headache.
- Try modifying the code to calculate triangle and circle area previously to accept
user input.
|