lundi 28 mars 2016

java program using if statement

Write a program that simulates a simple integer calculator. This program prompts the user to enter two

integers and an arithmetic operator (+, -, *, / or %). The program should display the result of the

corresponding operation if one of the listed operators is chosen otherwise an “Invalid Operator”

message is displayed. using if statement

Aucun commentaire:

Enregistrer un commentaire