Westonci.ca offers quick and accurate answers to your questions. Join our community and get the insights you need today. Experience the ease of finding quick and accurate answers to your questions from professionals on our platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

Simple calculator

Program name: CAL.PAS

Write a program that simulates a simple computer that performs arithmetic operations on integers.

Data: Enter from the keyboard the information in the following order: integer a, space, one of the math operations(*,+,-,/), wing sign, integer b. '/'' is division by integer part.

Result: Display an integer – the result of performing the operation on two integers a and b.

Note:

* Integers a, b, the value of the given result does not exceed the maximum size of the integer type in Free Pascal


Sagot :

We appreciate your visit. Our platform is always here to offer accurate and reliable answers. Return anytime. We appreciate your time. Please come back anytime for the latest information and answers to your questions. Your questions are important to us at Westonci.ca. Visit again for expert answers and reliable information.