From 49cbb33884342b5f226206e074066d43f6ea15c2 Mon Sep 17 00:00:00 2001 From: Prakhar Singh <52965043+Prakhar123-devil@users.noreply.github.com> Date: Sat, 31 Oct 2020 19:22:11 +0530 Subject: [PATCH 1/2] Update Hello world --- Hello world | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Hello world b/Hello world index 3b7617c..95c3c64 100644 --- a/Hello world +++ b/Hello world @@ -1,6 +1,10 @@ #include int main() { + int a=5,b=6,sum; printf("Hello, World!"); + printf("This is my repositry"); + sum=a+b; + printf("%d",sum); return 0; } From 2fd2e393a39ca8424850088d0c9d88225881b6f9 Mon Sep 17 00:00:00 2001 From: Prakhar Singh <52965043+Prakhar123-devil@users.noreply.github.com> Date: Sat, 31 Oct 2020 19:26:18 +0530 Subject: [PATCH 2/2] updated --- frequency of a character | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frequency of a character b/frequency of a character index b5334ac..5e803ba 100644 --- a/frequency of a character +++ b/frequency of a character @@ -1,7 +1,9 @@ +#include +#include int main() { - char str[1000], ch - int i, frequency = 0 + char str[1000], ch; + int i, frequency = 0; print("Enter a string: "); gets(str); printf("Enter a character to find the frequency: ");