39.6k views
3 votes
What are some situations where you might find it useful to use the “!” symbol in a program?

User Seb Barre
by
2.8k points

2 Answers

1 vote

[]Hello ![]

Answer:

You can use an exclamation mark for any program that requires a variable as a replacement for a specific word.

Step-by-step explanation:

  • I hope this helped! :D
  • Have a wonderful and blessed day.
User Tyler Strouth
by
3.0k points
3 votes

Answer:

The NOT operator can be useful to excludes unwanted items (or irrelevant items).

Step-by-step explanation:

In a lot of computer languages, the "!" symbol stands for the Boolean operator "NOT".

The NOT operator can be useful to excludes unwanted items (or irrelevant items).

Suppose you want to check if two conditions are not equal to each other, and when that condition is true, you can control some specific the outcome, or let something happen...

if ( condition1 != condition2 ) then

whatever you want done....

end if

User Ayyp
by
3.1k points