post here funny pictures

  • Thread starter T-hug
  • Start date
  • Views 2,249,557
  • Replies 34,182
  • Likes 12

Veho

The man who cried "Ni".
Former Staff
Joined
Apr 4, 2006
Messages
11,457
Trophies
3
Age
42
Location
Zagreb
XP
43,450
Country
Croatia
1711213496953.png
 

AncientBoi

THEE GAY WARLORD™ - Defender of GAY Rights
Member
Joined
Jan 25, 2021
Messages
4,125
Trophies
2
Age
67
Location
On the Patio NaKeD w/COFFEE
XP
14,329
Country
United States
if ($Score >= 85) then
{
Result = $Result cat "PASS";
}
if ($Score <= 85) then
{
Result = $Result cat "FAIL";
}
printf ("You "$Result" the exam.");

Cat? Plus 4th line and the last is Wong
 
  • Haha
Reactions: impeeza

Veho

The man who cried "Ni".
Former Staff
Joined
Apr 4, 2006
Messages
11,457
Trophies
3
Age
42
Location
Zagreb
XP
43,450
Country
Croatia
Alex Jones wants to eat leftist ass, but not like in a creepy way or anything.


1711215924183.png





Cat? Plus 4th line is Wong
Pseudocode.

"cat" stands for whatever equivalent of "concatenate" the code uses.
 

Veho

The man who cried "Ni".
Former Staff
Joined
Apr 4, 2006
Messages
11,457
Trophies
3
Age
42
Location
Zagreb
XP
43,450
Country
Croatia
And the new entry I put

if ($Score <= 84) then
That would be the correct solution that wouldn't output "FAILPASS".
Or even just "$Score < 85".
And using "else if" would be best.
But if you use ">= 85" for one, and "<=85" for the other, both statements are true when the score is exactly 85 and you get "PASSFAIL", that's what I was getting at.
 
  • Like
Reactions: AncientBoi

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: what's up woke boy