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; } 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: ");