From ba8612859741f4d7a383aa2e6260a79e663da68c Mon Sep 17 00:00:00 2001 From: Shubhendu Sen <67971019+Sen-442b@users.noreply.github.com> Date: Wed, 12 Jan 2022 20:35:48 +0530 Subject: [PATCH] fix: aligned the example with question The example of question number 5 of advance section was not aligned with the context of the question itself --- build-logic/004_strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-logic/004_strings.md b/build-logic/004_strings.md index b81ca54..84372b5 100644 --- a/build-logic/004_strings.md +++ b/build-logic/004_strings.md @@ -42,6 +42,6 @@ 1. A program that counts the value of each character and prints the most repeated character? -1. Write a program to toggle case of each character of the string "good afternoon" (example: "neogcamp" ⇒ "nEoGcAmP" ) +1. Write a program to toggle case of each character of the string "good afternoon" (example: "nEoGcAMP" ⇒ "NeOgCamp" ) 1. Given a string "how was your day?" and a word "how", write a program that removes the occurrence of the specified word from given sentence. ( input: string⇒"programming camp are amazing",word⇒ "programming"; output:" camp are amazing")