Computer Science, asked by sakunthalababu17, 5 months ago

write a c++ program to multiply two numbers using assignment operator​

Answers

Answered by ItzSecretBoy01
3

Answer:

Example: c++ program to multiply two numbers

#include <iostream> using namespace std;

int main()

{ int x, y, multiplication;

cout << "Enter two integers for multiplication: ";

cin >> x >> y;

// stored result in third variable. multiplication = x * y;

// Prints multiplication value.

Answered by Veduarun
2

Answer:

Like most other operators in C++, it can be overloaded. The copy assignment operator, often just called the "assignment operator", is a special case of assignment operator where the source (right-hand side) and destination (left-hand side) are of the same class type.

Similar questions