Question: Need help please Write code that demonstrates one computer language calling and receiving data back from another language. At the risk of repeating, the caller

Need help please Write code that demonstrates one computer language calling and receiving data back from another language. At the risk of repeating, the caller must be one language, the receiver a different one. The first language reads three integers from the user (A, B, C) and passes them as binary values to a separately compiled function written in a different language. That second function divides the first number by the second and subtracts the third (A/B-C), then returns the result to the caller as an integer. That first language then prints the integer it received from the second language out to screen. One language or the other must check and prevent or trap for division by zero. You can use any method of inter-language static or dynamic linkage or inter-process communications (CORBA, ZMQ, DCOM, Twisted, Node.JS, dynamic linking. static linking, RPC, etc). The two parts must be distinctly different languages and both parts supplied in source code format (for example VB calling native C++, Python calling C, C# calling C++, C calling Pascal, Python calling Java, Python calling C, Java calling Pascal, etc). Please do not use javascript, HTML or Assembler (thats just way too easy). Please identify which versions of the languages, compilers, operating systems and developer environments you used.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!