Forum > Coding >

[Help] Operators and stuff

Posts: 122

Threads: 27

Joined: Dec, 2019

Reputation: 13

Posted

Can someone give me a guide on operators and stuff?

I did learn this in online class but I can't understand the heck out of it.

It's for my assignment.

Β 

Yeah, this was the assignment.

  • 0

[ πŸπŸ—πŸ—πŸ— - πŸπŸŽπŸπŸ— ]

"Bound by self-hatred, bound by blood. In the name of Baphomet and Lucifer, in both I should trust them."

πŸ₯° π’œπ“π’Ύπ’Έπ‘’ πŸ’ž

Posts: 797

Threads: 70

Joined: May, 2020

Reputation: 9

Replied

That's probably because this is the worlds most wack class I have ever seen you can learn cpp better on YouTube then you can from that worksheet. I'll edit this post once I figure it out

  • 0

Don't buy exploits its not worth it your gonna quit anyway

Taking accountability will help you excel in life

Wabz

Winning.js

Posts: 1956

Threads: 143

Joined: Apr, 2020

Reputation: 27

Replied

ill explain

% : modulo, remaining of the division, has nothing to do with boolean operators but it was in your stuff so just in case

Β 

&& : and, true and true gives true and the rest is false

|| : or, true and true, true and false, and false and true is true, false and false is false

== : is equal, if both sides are the same it returns true, otherwise its false

>= : is bigger or equal

<= : is smaller or equal

< : is smaller

> : is bigger

! : inverser, if its true it becomes false and if its false it becomes true

Β 

now, you can put stuff into parenthesis to rearrange them and also its kind of like pedmas, some things have to be done first

  • 0

My new discord is Wabz#1337 with ID 777154062789509130

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )