Difference: CSC121F2024Lab02 (3 vs. 4)

Revision 42024-09-03 - CathyBareiss

Line: 1 to 1
 
META TOPICPARENT name="CSC121SylF2024"

Selection Lab Program: Fall 2024

Learning Objective(s)

Line: 29 to 29
 You will receive 3 hints and then you must try to guess it. I will tell you if it is a multiple of a number.
Changed:
<
<
What number do you want me to use? 5
>
>
What number do you want me to use? 5
 My number is not a multiple of 5 I will tell you if is higher than a number.
Changed:
<
<
What number do you want me to use? 15
>
>
What number do you want me to use? 15
 My number is higher than 15 I will tell you if is lower than a number.
Changed:
<
<
What number do you want me to use? 40
>
>
What number do you want me to use? 40
 My number is lower than 40 It is time to guess my number.
Changed:
<
<
What do you think it is? 34
>
>
What do you think it is? 34
 You did not guess it. My number was 31
Line: 48 to 48
 You will receive 3 hints and then you must try to guess it. I will tell you if it is a multiple of a number.
Changed:
<
<
What number do you want me to use? 4
>
>
What number do you want me to use? 4
 My number is a multiple of 4 I will tell you if is higher than a number.
Changed:
<
<
What number do you want me to use? 37
>
>
What number do you want me to use? 37
 My number is not higher than 37 I will tell you if is lower than a number.
Changed:
<
<
What number do you want me to use? 33
>
>
What number do you want me to use? 33
 My number is not lower than 33 It is time to guess my number.
Changed:
<
<
What do you think it is? 36
>
>
What do you think it is? 36
 You guessed it! You can also run a solution for this program if you want. See classroom instructions for more details.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback