Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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.
0 · ·