mohamedman811 mohamedman811
  • 21-11-2020
  • Spanish
contestada

write a c++ program to read two values and the symbol of arithmetic opreation and print the result​

Respuesta :

ItzMickey618
ItzMickey618 ItzMickey618
  • 22-11-2020

Answer:

What are Operators?

An operator is a symbol used for performing operations on operands. An operator operates operands. The operations can be mathematical or logical. There are different types of operators in C++ for performing different operations.

Consider the following operation:

a = x + y;

In the above statement, x and y are the operands while + is an addition operator. When the C++ compiler encounters the above statement, it will add x and y and store the result in variable a.

Explanation:

Answer Link

Otras preguntas

Multiples that are shared by two or more numbers are____
josh likes swimming camping and
need help!!!!!!!Write a 200 word paper on the new developments, describing how these effect the telescopes, and in what environments these work best.
Find 15% of 160 A) 94 B) 20 C) 24
Determine if the three lengths can be the measures of the sides of a triangle. 20 ft, 16 ft, 38 ft
Find 15% of 160 A) 94 B) 20 C) 24
photo attached thank you number 2
You do 25 J of work while using a hammer. The hammer does 18 J of work on the nail. What is the efficiency of the hammer? physical science help please
Which statement uses ethos to support the argument that dogs should be kept on leashes in public parks? A. Off-leash dogs are 50 percent more likely to get in f
The width of a rectangle is 7x – 9.5 feet and the length is 9.5x + 10 feet. Find the perimeter of the rectangle.