Hi everyone, I'm very new to programming in C. I'm doing my 4th homework assignment and having a bit of trouble. I was hopeing that someone here could lend me a hand.
The problem from the book is as follows:
The National Earthquake Information Center has asked you to write a program implementing the following decision table to characterize an earthquake based on its Richter scale number.
[b]Richter scale number \Characterization[/b]
n<5.0 \Little or no damage
5.0<=n<5.5 \Some Damage
5.5<=n<6.5 \Serious Damage
This is a link to the code I have. I'm using Cygwin so I do not know how I would be able to copy the code out of the program. Any help would be very much appreciated.