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

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/feed-rss2.php on line 8
‘#WSQ08’ Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Mon, 23 Nov 2015 19:32:57 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ If it works, don’t fix it. – WSQ08 https://kenscourses.com/tc101fall2015/2015/if-it-works-dont-fix-it-wsq08/ Mon, 23 Nov 2015 19:32:57 +0000 http://andressava.wordpress.com/?p=136 ]]> For this WSQ we have to go to WSQ03 and make every option a function a int function being specific, so dow below is the link for this WSQ.

Have a nice week.

The Source Code Link

flickr photo by Mario Klingemann
Iterated Function System
Creative Commons Public Domain

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ08 https://kenscourses.com/tc101fall2015/2015/wsq08-39/ Thu, 12 Nov 2015 15:44:14 +0000 http://estebanpg.wordpress.com/?p=33 https://github.com/estebanpinal/WSQ/blob/master/WSQ08

]]>
https://creativecommons.org/licenses/by/4.0/
On to functions https://kenscourses.com/tc101fall2015/2015/on-to-functions-17/ Sat, 31 Oct 2015 03:45:18 +0000 http://juansalvadorfernandez.wordpress.com/?p=69 Quiet simple, since its the same as one of the first activities, the difference being that we used functions in this one.

awddfg

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ08 https://kenscourses.com/tc101fall2015/2015/wsq08-35/ Fri, 30 Oct 2015 14:39:58 +0000 http://alansprogramming.wordpress.com/?p=114 Continue reading WSQ08 ]]> Some functions inside one big function…

Functions

Before Inception was cool. “Quadruple Meta!!” by Mark Paschal. Link: https://www.flickr.com/photos/markpasc/3220790292

So we had to repeat WSQ 3 with a little twist. Now all of the operations we did have to be written in functions. This was one of the easiest WSQ’s looking back on it, and still very useful and basic for the understanding of C++.

Here’s the usual GitHub link: WSQ 8.

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ08 – On to functions https://kenscourses.com/tc101fall2015/2015/wsq08-on-to-functions-16/ Thu, 29 Oct 2015 02:13:30 +0000 http://andreandradec.wordpress.com/?p=181 ]]> This was very easy! It was like repeating the WSQ03, just that with functions, this is something that wasn’t very difficult.

Here is my code: https://github.com/Andreandc/TC1017/blob/master/WSQ08

3ofxwf

]]>
https://creativecommons.org/licenses/by/4.0/
#WSQ08 https://kenscourses.com/tc101fall2015/2015/wsq08-33/ Thu, 29 Oct 2015 01:43:59 +0000 http://giorgio6859.wordpress.com/?p=56 ]]> 19496375194_e7f302870f

// WSQ08 Functions
#include <iostream>
using namespace std;

int suma (int p, int t) {
int s = p+t;
return s;
}
int resta (int p, int t) {
int r = p-t;
return r;
}
int division (int p, int t) {
int d = p/t;
return d;
}
int residuo (int p, int t) {
int l = p%t;
return l;
}
int main () {
int x;
int y;
cout << “Dame el primer número ” <<endl;
cin >>x;
cout << “Dame el segundo número ” <<endl;
cin >>y;
cout << “La suma es ” << suma (x,y) <<endl;
cout << “La resta es ” << resta (x,y) <<endl;
cout << “La división es ” << division (x,y) <<endl;
cout << “El residuo de la división es ” << residuo (x,y) <<endl;
return 0;
}

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ 8 – On To Functions https://kenscourses.com/tc101fall2015/2015/wsq-8-on-to-functions/ Thu, 29 Oct 2015 01:14:37 +0000 http://dragv.wordpress.com/?p=110 ]]> Working with functions. Here’s the code:

qs8c

And the test of the code:

qs8t

]]>
https://creativecommons.org/licenses/by/4.0/
On To Functions https://kenscourses.com/tc101fall2015/2015/on-to-functions-16/ Thu, 29 Oct 2015 01:07:00 +0000 http://kenscourses.com/tc101fall2015/?guid=5f425b80514dbd254c0dd7a3ddcdc841

 

]]>
https://creativecommons.org/licenses/by/4.0/
#WSQ08 https://kenscourses.com/tc101fall2015/2015/wsq08-38/ Wed, 28 Oct 2015 19:52:52 +0000 http://alan46bc.wordpress.com/?p=51 ]]> #include <iostream>
using namespace std;

int sum (int x, int y){
return x+y;
}
int dif (int x, int y){
return x-y;
}
int prod (int x, int y){
return x*y;
}
int divv (int x, int y){
return x/y;
}
int rem (int x, int y){
return x%y;
}
int main(){

int x,y;
cout << “Introduce el primer numero: “;
cin >> x;
cout << “Introduce el segundo numero: “;
cin >> y;
cout << “La suma es:” << endl;
cout << sum(x,y)<<endl;
cout << “La resta es:” << endl;
cout << dif(x,y)<<endl;
cout << “La multiplicación es:” << endl;
cout << prod(x,y)<<endl;
cout << “La división es:” << endl;
cout << divv (x,y)<<endl;
cout << “El residuo de la división es:”;
cout << rem(x,y)<<endl;

return 0;
}

Abducción

]]>
https://creativecommons.org/licenses/by/4.0/
#WSQ08 https://kenscourses.com/tc101fall2015/2015/wsq08-30/ Wed, 28 Oct 2015 19:52:52 +0000 https://alan46bc.wordpress.com/?p=51 ]]> #include <iostream>
using namespace std;

int sum (int x, int y){
return x+y;
}
int dif (int x, int y){
return x-y;
}
int prod (int x, int y){
return x*y;
}
int divv (int x, int y){
return x/y;
}
int rem (int x, int y){
return x%y;
}
int main(){

int x,y;
cout << “Introduce el primer numero: “;
cin >> x;
cout << “Introduce el segundo numero: “;
cin >> y;
cout << “La suma es:” << endl;
cout << sum(x,y)<<endl;
cout << “La resta es:” << endl;
cout << dif(x,y)<<endl;
cout << “La multiplicación es:” << endl;
cout << prod(x,y)<<endl;
cout << “La división es:” << endl;
cout << divv (x,y)<<endl;
cout << “El residuo de la división es:”;
cout << rem(x,y)<<endl;

return 0;
}

Abducción

]]>
https://creativecommons.org/licenses/by/4.0/