Solution: Create a Contract with Attributes and Functions
Let's review the solution to this challenge.
We'll cover the following...
We'll cover the following...
Flowchart of a possible solution
In this challenge, you needed to create a contract named Challenge. This contract has a private variable called targetAmount. It also has a constructor, which has a parameter named amount and checks if the targetAmount is equal to the amount. If true, the program ...