This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example Remote Procedure Call(RPC) | |
import rpyc | |
conn = rpyc.classic.connect("localhost") | |
conn.execute("print('Hello from Tutorialspoint')") | |
Example SOAP | |
SOAP used XML to encode a message and HTTP as a transport. | |
<SOAP-ENV:Envelope |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int n, i; | |
unsigned long long factorial = 1; | |
printf("Enter an integer: "); | |
scanf("%d",&n); | |
// show error if the user enters a negative integer | |
if (n < 0) | |
printf("Error! Factorial of a negative number doesn't exist."); |