ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #1

Standard

Today we learn about programming languages, datatypes and basic principles of programming: sequences, looping, conditionals dan functions πŸ™‚

Screen Shot 2020-07-14 at 10.46.55

we started with looping

Screen Shot 2020-07-14 at 10.53.02

and then operators

Screen Shot 2020-07-14 at 10.54.41

and then conditionals

Screen Shot 2020-07-14 at 11.01.17

functions

Screen Shot 2020-07-14 at 11.05.21

then we did some challenges πŸ™‚ this one is how to determined whether a number is prime or not

Screen Shot 2020-07-14 at 11.09.13

Screen Shot 2020-07-14 at 11.10.39

we learned different techniques and logics to solve the problem

Screen Shot 2020-07-14 at 11.19.26

comparing different codes

Screen Shot 2020-07-14 at 11.22.32

and modify it to be able to display list of prime numbers in a certain ranges πŸ™‚

Screen Shot 2020-07-14 at 11.31.34

we’re going to learn about data structures in the next class πŸ˜‰

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s