I am trying to write a simple program to learn C++
The program will ask the user to enter a series of yes or no questions
and return true or false if all are true.
The code should ask...
Did a person assaults another, [y/n?]
and inflicts substantial bodily harm, [y/n?]
and the person being harmed is a minor [y/n?]
if all are true print "This is aggravated assault involving a minor."
if all are not true print "This is not aggravated assault involving a minor."
return true or false (another function will use this as an element if true)
This same syntax will be used throughout my program for multiple statutes.
This is awesome. This gives me a start. i have several more complicated statutes I want to apply this to and it will be a learning experience. I received so many, "Copying other people's work is not learning." responses on other sites. I disagree. This gives me direction I can run with. Thank you again.