Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152
‘#WSQ08’ Articles at TC101 Fall 2015, Page 3
Introduction to Programming Python and C++

Tag Archives: #WSQ08

WSQ08

This time we recycled the code of WSQ03, now writing a function for each calculation. Each function has two integer parameters given by the user and returns the correct value as an integer as well. The code is found here: https://github.com/CarminaP/WSQ/blob/master/WSQ08.py

WSQ08

This time we recycled the code of WSQ03, now writing a function for each calculation. Each function has two integer parameters given by the user and returns the correct value as an integer as well. The code is found here: https://github.com/CarminaP/WSQ/blob/master/WSQ08.py

#WSQ08 On to Functions

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 →

#WSQ08 On to Functions

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 →

#WSQ08 – On to Functions

Hello! This is in which we had to basically repeat what we did in WSQ03 but with the use of functions. I had problems again with the use of syntax, I freaked out but it was all about the semicolumns and symbols like those.

Remeber, when using functions, to declare the variables with the type you need. Int for whole numbers, Double for decimals etc. Also make sure the names you use to create your functions are not used in c++ language for some other thing, becuase is you do, you may have some problems.

 

Here is my code in GitHub:

https://github.com/ricardonewton/TC101/blob/master/ontofuntions

wsq08

This is the wsq08, it was easy but i forgot to put == in the condition if, i fixed and it works 😀
https://github.com/FernyAlanis/wsq08s/blob/master/d

On to functions

I just did #WSQ08! I was having a little trouble with functions, but I think I understand now. I used to be the best of my class at Prepa TEC programming, but now everyone is good and I felt I was way behind. I just hope I keep learning. As Ken, I think #It’sOkayToFail, since I […]

On to functions

I just did #WSQ08! I was having a little trouble with functions, but I think I understand now. I used to be the best of my class at Prepa TEC programming, but now everyone is good and I felt I was way behind. I just hope I keep learning. As Ken, I think #It’sOkayToFail, since I […]

WSQ08, Using functions

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 […]

WSQ08, Using functions

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 […]

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).