From 3c0322ffefa8fad81d84efe5b8bfe7aeb5817438 Mon Sep 17 00:00:00 2001 From: divyanshubisht <57855321+divyanshubisht@users.noreply.github.com> Date: Thu, 22 Oct 2020 12:31:10 +0530 Subject: [PATCH] updated the program removed the syntax errors --- frequency of a character | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frequency of a character b/frequency of a character index b5334ac..ad51eba 100644 --- a/frequency of a character +++ b/frequency of a character @@ -1,7 +1,8 @@ +#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: ");