online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#c=(x-n)%26 def encripted(string,shift): ciper='' for char in string: if char==' ': ciper=ciper+char elif char.isupper(): ciper=ciper+chr((ord(char)+shift-65)%26+65) else: ciper=ciper+chr((ord(char)+shift-97)%26+97) return ciper text=input("enter the text") s=int(input("enter the shift key")) print("the original string is :",text) print("the encrypted msg is :",encripted(text,s))

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue