Skip to content

Commit 30d7d72

Browse files
authored
Add files via upload
1 parent 4386c3f commit 30d7d72

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#WAP to find diffrence of two small integers without using minus(-) operator.
2+
a=int(input("Enter The First Number"))
3+
b=int(input("Enter The Second Number"))
4+
sub=a+(~b)+1
5+
print("Substraction of %d-%d=%d"%(a,b,sub))
6+
input("Press ENTER to exit")

0 commit comments

Comments
 (0)