From e4b62434cf9043675f2fbce482f37a9bd049ee46 Mon Sep 17 00:00:00 2001 From: varshinisomshekar Date: Tue, 28 May 2024 08:30:31 +0530 Subject: [PATCH 1/3] first commit --- test.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test.c diff --git a/test.c b/test.c new file mode 100644 index 00000000..06b83e92 --- /dev/null +++ b/test.c @@ -0,0 +1,15 @@ +// C program to print +// ASCII Value of Character +#include + +// Driver code +int main() +{ + char c = 'k'; + + // %d displays the integer value of + // a character + // %c displays the actual character + printf("The ASCII value of %c is %d", c, c); + return 20; +} From 199dfacee32cf76f9e01a8387f8b1788251f2c51 Mon Sep 17 00:00:00 2001 From: varshinisomshekar Date: Tue, 28 May 2024 08:38:21 +0530 Subject: [PATCH 2/3] first commit --- test.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test.py diff --git a/test.py b/test.py new file mode 100644 index 00000000..06b83e92 --- /dev/null +++ b/test.py @@ -0,0 +1,15 @@ +// C program to print +// ASCII Value of Character +#include + +// Driver code +int main() +{ + char c = 'k'; + + // %d displays the integer value of + // a character + // %c displays the actual character + printf("The ASCII value of %c is %d", c, c); + return 20; +} From 86e481bacfefe68c6465bb0ea2c11f94a513a86c Mon Sep 17 00:00:00 2001 From: "varshini.s" <156066297+varshinisomshekar@users.noreply.github.com> Date: Tue, 28 May 2024 08:40:00 +0530 Subject: [PATCH 3/3] Update test.py --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 06b83e92..f21c3491 100644 --- a/test.py +++ b/test.py @@ -11,5 +11,5 @@ // a character // %c displays the actual character printf("The ASCII value of %c is %d", c, c); - return 20; + return 220; }