Replies: 1 comment 10 replies
-
|
Yes your idea looks good so we don't need to do much just have to change Modules/headers/comb.h |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Operator Rule: We can use the operator as a function
1. Arithmetic Operators
( + ) Addition
1 + 2 + 3 | +(1,2,3)
( / ) Division
1 / 2 / 3 | /(1,2,3)
The same thing happened for:- (-) Subtraction, (*) Multiplication, (/) Division, (%) Modulus, etc.
2. Logical Operators
(and) Logical AND
True and False and True | and(True,False,True)
(or) Logical OR
True or False or True | or(True,False,True)
How it will help us
"+" operator
we can use as a sum function
+(Array List of Numbers)
it will return the Sum of all value
"and" Logical AND
it's more readable
Note
Right Now it's just an overview of all Operators. try to implement it in the separate git branch of the project
Beta Was this translation helpful? Give feedback.
All reactions