This is mastery number 24. This post is about arrays, how to create them and when to use them. An array is a set of elements places in a certain position. They are arranged like this: Oppositely to vectors, arrays have a limit of elements. For example: a[10] is an array with ten elements that […]
Hello…This are masteries 11 and 12. Today I’ll write about how to create a c++ function. In my opinion, when a code is too complicated, creating a function can be really really useful. Here’s an example code where I created and called a function in my main: https://github.com/mferflores/fibonacci/blob/master/function See how I have my int made and […]
Hello! This is BY FAR the hardest WSQ I’ve done in my whole semester, ladies and gentlemen…WSQ11! First of all, I didn’t even know what a lychrel number is…but I searched it and I was able to do it at the end. If you want to do this task, make sure you have the big integer […]
Hello! This is BY FAR the hardest WSQ I’ve done in my whole semester, ladies and gentlemen…WSQ11! First of all, I didn’t even know what a lychrel number is…but I searched it and I was able to do it at the end. If you want to do this task, make sure you have the big integer […]
Hello! How are you today? And finally I’ve done WSQ10! I couldn’t figure out how to do the code for the standard deviation formula, but, luckily, my friend Ana Gloria gave me a hand with that… I’ll keep working with WSQ11, and I have to finish my masteries too! Here’s my code: https://github.com/mferflores/wsq10/blob/master/lists
Hello, I just finished quiz number 8, of course it took me all day to do it. The deal was I really wanted to do it with vectors because I find that harder, and I couldn’t…I really think I need help with that topic, I may ask Ken about it in office hours. I would […]
Hello, I just finished quiz number 8, of course it took me all day to do it. The deal was I really wanted to do it with vectors because I find that harder, and I couldn’t…I really think I need help with that topic, I may ask Ken about it in office hours. I would […]
This is mastery 20. Today I will write about the use of loops with “for”. There are many kind of ways to do loops; “While” “Do, While” and “for”, all have the same function in c++. Their main difference is probably the syntax, so I’ll show you the syntax for this type: for (variable initialization; […]
This is mastery 20. Today I will write about the use of loops with “for”. There are many kind of ways to do loops; “While” “Do, While” and “for”, all have the same function in c++. Their main difference is probably the syntax, so I’ll show you the syntax for this type: for (variable initialization; […]
This is mastery 20. Today I will write about the use of loops with “for”. There are many kind of ways to do loops; “While” “Do, While” and “for”, all have the same function in c++. Their main difference is probably the syntax, so I’ll show you the syntax for this type: for (variable initialization; […]