Your mother tells you to purchase groceries, for instance milk. You need to take the money, take the route to the store, get the milk and return home. Simple right?
But wait, how much milk need to you get? which company ought to you buy? And oh, take into account to take the change. Also, what if the regular store is closed? What if they’re out of milk? What if the milk is expired?
You may be aware of the solutions to this through trial and error as a kid, however for a computer, you want to grant the specific instructions, with prerequisites to encounter specific conditions and to deal with errors. That, in essence, is programming.
Reference link:
https://qr.ae/pvwU1e