Here is my answer to #Quiz08:
q1Q8.cpp
To give the values to the vector I used the same as in WSQ10, a loop that lets you give infinite values until you signal no more values.
For this WSQ what I did was a vector with undetermined size, and when the user gives positive numbers (floating point), it keeps storing them until the user wants to stop (writing “-1”). I made this with a while loop…. Continue Reading →
Here are my answers to #Quiz07:
https://github.com/EduardoMacielM/TC1017/tree/master/Quiz07
q1 is for fibonacci series and q2 for palindrome.
For this task, I made 2 codes, one was using recursion and the other one with a loop. Here are my codes: loop factorial recursive factorial For both codes I used the BigIntegerLibrary, it is complicated but the explanation is in… Continue Reading →
In this case was the same as WSQ03, the sum, difference, product, division and its reminder of 2 integer numbers. But with now was necessary to create a function for each operation. The correct sintaxis for a function is: int… Continue Reading →
In this case was the same as WSQ03, the sum, difference, product, division and its reminder of 2 integer numbers. But with now was necessary to create a function for each operation. The correct sintaxis for a function is: int… Continue Reading →
Hi, here are my answers to the #Quiz06 questions:
q1.cpp
q2.cpp
In this short video I explain how to create and call a simple function to print it with a “cout<<“.
Hey, this video about how to comment in C++ was really short but I’m sure it’s enough. Hope you like it.
Hi again! Here’s my video for masteries 5 & 6. I’m sorry for the awful edition and also for the excessive use of the Benny Hill’s Theme. I hope you like the video even with that stuff.