Learn Programming with FlowRun
Learn Programming with FlowRun
A visual introduction into the world of programming
About the Book
Everyone should learn how to code
Everyone should learn the basics of programming.
People learn it for various reasons: getting a job, earning money, because their school requires it, or just for fun - because they love it.
Regardless of the motivation, the results are highly rewarding.
You expand your horizons, get a very good understanding of how computers work, what programmers do actually, and how you can solve some real-world problems by yourself.
This book uses a visual way to teach you the basic building blocks of programming.
And not only that, but you also get to try every example in the book in a matter of seconds.
No setup needed, just a computer or smartphone with a browser.
The concepts from this book are transferrable to any programming language.
Learning programming visually first makes it easier to follow the execution flow.
Once you learn the basics, everything you learn after this will become much easier to understand.
Only the sky is the limit.
A Message to My Readers
Hi there! Thanks for reading this book.
Hope you will have great time reading it and learn something useful.
I would love to get in touch with you.
Whether you have questions, ideas, feedback, or just want to say hello, you can find me at the following places:
- email at sakib@sake.ba
- LinkedIn at https://www.linkedin.com/in/sakib-hadziavdic/
- GitHub at https://github.com/sake92
- Fosstodon at https://fosstodon.org/@sake92
If you want to support my work you can buy me a coffee:
- https://ko-fi.com/sake92
- https://buymeacoffee.com/sake
- https://github.com/sponsors/sake92
I appreciate if you read this section.
Thanks, and good luck! :)
Table of Contents
- A Message to You
- Preface
- FlowRun Editor
- How Does FlowRun Help You Learn Better?
- The Basics
- Hello World!
- Numbers
- Variables
- Changing Variables
- User Input
- Branching with If
- Exercises
- Loops
- While Loop
- Do While Loop
- For Loop
- Loop in a Loop
- Exercises
- Functions
- Predefined Functions
- Custom Functions
- The Return of a Function
- Recursive Functions
- Function Scope
- Exercises
- Arrays
- Calculating Average Grade
- Finding Item in Array
- Numbers Frequency
- Sorting Array
- Strings are Arrays
- Exercises
- Matrices
- Adding Matrices
- Check Identity Matrix
- Exercises
- Real World Examples
- Statistics
- Tic Tac Toe
- Exercises
- Generating Real Code
- Best Practices
- Use Meaningful Names
- Use Temporary Variables
- Use Functions
- Tell User What to Do
- Talk with User
- Handle Errors Gracefully
- Common Problems and Solutions
- Variable Not Declared
- Variable Not Initialized
- Wrong Input Format
- Dividing by Zero
- Accessing an Array Index Out of Bounds
- Fixing Issues
- What Next?
- Resources
- FlowRun.io Docs
- FlowRun YouTube channel
- FlowRun Live Discussion
- FlowRun Source Code
- Predefined Functions Reference
- Glossary
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them