♫Woozy♫
♫Woozy♫
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
thanks for the help!
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
entire code is red and i have no clue what i'm doing.
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
i regret not going with if statements rn
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
so it's normal?
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
it shows an error when i write (absDelta)
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
switch (absDelta)
switch (absDelta)
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
how do i write the so it's stands out from my normal text on discord btw? it was something like '''code'''
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
This entire part so far. I want to find a tutorial on it but so far none of the tutorials I've found use numbers
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
I'm completely lost 💀
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
I'll try playing around with switches a bit
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
How would that look in my program? I've been studying c# for just a few hours total so not any good at it yet
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
I've never used that before. :/
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
can I use else if multiple times?
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
i'm asuming else if (c#) is python's variant of elif
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
in python I did it like this: print("Hi, welcome to the number guessing game.") import random number = random.randint(1,100) guess = 0 while guess !=number: guess = int(input("Guess:")) if abs(guess - number) <=3 and guess !=number: print("You're really close, keep going.") elif guess == number: print("You guessed correct!") elif guess < number: print("Higher!") else: print("Lower!") Can I do it in a similar way on C#?
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
❔ Number guessing game.
If the correct number is 45 and the user guesses 44, i want the program to say "It's getting really warm" but not tell the user if the number is higher or lower.
55 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
How do I write text, then a int, then more text in the same line?
is there a difference?
9 replies
CC#
Created by ♫Woozy♫ on 7/14/2023 in #help
How do I write text, then a int, then more text in the same line?
Just found out you can also do it like this Console.WriteLine("You have " + sum + " years left till pension");
9 replies
CC#
Created by ♫Woozy♫ on 7/13/2023 in #help
I can't even run my code.
I'll look up a tutorial on how to declare it :)
77 replies