Developing a calculator

Write a Java program that accepts integer (M), character (ch) and again integer(N) as input.Then check the charater and perform arithmetic operation of M and N regarding to character
Note:ch must among these characters +,-,*,/

Test Cases

Input
Enter M : 25
Enter ch : -
Enter N : 25
Output 0
Explanation:Checking character and deciding to subtract the two numbers
Input Enter M : 5
Enter ch : +
Enter N : 10
Output 15
Input Enter M : 10
Enter ch : *
Enter N : 5
Output 50

*Note that if You have compiler please solve there and click send code button or Simply use this notepad and after completing copy the code and click send code button