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
‘#WSQ06’ Articles at TC101 Fall 2015
Introduction to Programming Python and C++

Tag Archives: #WSQ06

Try Again. WSQ06

Hi, we’re back. Well for this WSQ we need some new libraries and a accumulator in which we will be able to store the number of fails the player did obtain, and that’s all is pretty simple this time. Down below you will find the code. Have a nice week.   The Source Code   flickr […]

Try Again. WSQ06

Hi, we’re back. Well for this WSQ we need some new libraries and a accumulator in which we will be able to store the number of fails the player did obtain, and that’s all is pretty simple this time. Down below you will find the code. Have a nice week.   The Source Code   flickr […]

WSQ06

https://github.com/estebanpinal/WSQ/blob/master/WSQ06
Me tope con pared con este programa tuve que ir a asesorias para poder lograrlo

WSQ06

Randomness abounds. So for this WSQ, I had to check the <ctime> library and why it worked for assigning random numbers, several times. It ended up being quite easy, as with C++ the same thing can be done in different ways (Thank you cplusplus.com!). Here’s the GitHub link to WSQ 6.

WSQ6: Random Numbers

This WSQ was really hard because it was completely different of what the others WQS were about. I did knew how to make random numbers so i just looked up on google. after that I read about it in the book, and in some way I managed to make the code run and to work. … Seguir leyendo WSQ6: Random Numbers

WSQ06 – Pick a Number

Again is used these Python 3 programming examples. There I found how to use while-loops. Here is my code: import random numCom = random.randrange(1, 101) numUs = int( input( “Give me a number between 1 and 100: “)) attempt = int(1) while numCom != numUs :     attempt = attempt + 1          […]

WSQ06!!

Here is my code, you have to guess a number that is randomly selected by the program. I did it with no help (except for the time/rand thing).

Hope this helps you!

#WSQ06 #Tc1017

 

#include

#include

#include

using namespace std;

 

int main() {

  srand(time(0));           //time changes, the number changes

  int r=1+(rand() % 100);

  int x;

  int count = 0;

  cout

 

cout

cin >>x;

count = count+1;

 

while (x!=r){

  if(x

  cout

  cin >>x;

  count = count + 1;

} else {

  if (x>r){

      cout

      cin >>x;

      count = count + 1;

 }

  }

}

 

cout

  return 0;

 

}

#WSQ06

In this WSQ we were asked to make a program that automatically could choose a number between 1 and 100, …

Continue reading

WSQ06, Guess them damn number

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

WSQ06, Guess the damn number

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

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).