store the product of variable A and B in variable Z pls tell me the answer
Answers
Answered by
3
Java::
import java.util.Scanner;
public class Brainly {
public static void main(String [] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int z = a * b;
// if you want to print the output.
System.out.println(z);
}
}
Python::
a = int(input())
b = int(input())
z = a * b
# if you want to print the output.
print(z)
C++::
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a;
cin >> b;
int z = a * b;
// if you want to print the output.
cout << z;
return 0;
}
The answer was listed in 3 languages -- Java, Python, C++
Note::
- Java and C++ needs semi-colon at the end of every statement.
- Python has comments in #
- Java and C++ has comments in //
I hope that my answer helps you...
Answered by
0
Answer:
i am a rider provider bring the heat girl
Explanation:
u la la la u la la la
Similar questions