Computer Science, asked by digital82, 7 months ago

What are the difference between Antithetical and logical operation

Answers

Answered by SpaceWalker17
5

Answer:

\bold\blue{Arithmetical\:Operator}

  • Arithmetical operators are used to perform mathematical operations on its operands. Operands of arithmetical operators must be of numeric value.
  • A few arithmetic operators operate upon one operand. They are called Unary Arithmetic operators. Other arithmetic operators operate upon two operands. They are called Binary arithmetic operators.
  • As an example consider the statement. int a = 10+20;
  • Here the addition arithmetic operator, represented by the symbol + will add 10 and 20. So, variables a will be 30.

\bold\blue{Logical\:Operator}

  • Logical operators operate on boolean expressions to combine the results of these boolean expression into a single boolean value.
  • Example; int a = 7; int b = 10; boolean v = a<b && a%2==0
  • Here the result of first boolean expression a<b is true and the result of second expression a%2 is false. The logical AND operator (&&) combines these true and false boolean values and gives the resultant boolean value as false. So, boolean variable c becomes false.
Answered by nikhilsin172
0

Explanation:

djxjxjfjfdjdjdjdndndmdndnfjjfjdjskdkd to the law office of Dr Seuss the following statement of confidentiality this transmission in mass communication please please do not want to the law and container episode–of the container and I will send you sir Sir please find my resume please please find the following statement and container episode–of of the container and container episode–of to tum hi Bhai Apko popular and container no no yes no if yes no if to tum se maja a no no no yes no no no yes no your feedback on the following statement for a raha hai yaar Di Matteo to tum se darling I am please please find attached

Similar questions