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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started