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 →
Qué onda, fellows. This is the post for the WSQ09. It is about calculate the factorial of a number that the users provides. And also, you have to show the option to repeat the program or exit. Here the image showing the program: To calculate the factorial I used a for loop, starting with a […]
Qué onda, fellows. This is the post for the WSQ09. It is about calculate the factorial of a number that the users provides. And also, you have to show the option to repeat the program or exit. Here the image showing the program: To calculate the factorial I used a for loop, starting with a […]
Hi, everybody. Let’s see how I have done the WSQ08. Basically, it was about doing the WSQ03 (post: https://hrglez.wordpress.com/2015/09/17/wsq03-having-fun-with-numbers/), but instead of doing each process in the main() function, you have to use an separate function for each process (one function for sum, another for the difference… you’ll see). Here the image of my screen while […]
Hi, everybody. Let’s see how I have done the WSQ08. Basically, it was about doing the WSQ03 (post: https://hrglez.wordpress.com/2015/09/17/wsq03-having-fun-with-numbers/), but instead of doing each process in the main() function, you have to use an separate function for each process (one function for sum, another for the difference… you’ll see). Here the image of my screen while […]
This task was about making a programm that asks the user for two integers. The user will read that the first number she/he types will be the begining of a serie of numbers and the second will be the end… Continue Reading →
This task was about making a programm that asks the user for two integers. The user will read that the first number she/he types will be the begining of a serie of numbers and the second will be the end… Continue Reading →
HI everybody. I am going to show you how I done the WSQ07. There are different ways to do it, I used “for”. Here the image, to start: This was kind of easy (If you do not know how to use for, look for my post about it, it is on “Masteries” category). I think […]
Let’s talk about the WSQ06, maybe the hardest in this partial (actually it is not hard, but you have to search a lot to understand it). Here the image with the program and the compiler running it: Gaze at the program, stare at it as they are no other thing to observe. I am going […]
HI everybody. I am going to show you how I done the WSQ07. There are different ways to do it, I used “for”. Here the image, to start: This was kind of easy (If you do not know how to use for, look for my post about it, it is on “Masteries” category). I think […]