Skip to content

Instantly share code, notes, and snippets.

@mizanRahman
Created June 23, 2014 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mizanRahman/d80a9bf6e165de252afe to your computer and use it in GitHub Desktop.
Save mizanRahman/d80a9bf6e165de252afe to your computer and use it in GitHub Desktop.
test
  • Reverse a String : Enter a string and the program will reverse it and print it out. sample input: "Hello" output: "olleH"

  • Count Vowels: Enter a string and the program counts the number of each vowels in the text. sample input: "This is a sample input" output: a=2, e=0, i=3, o=0, u=1

  • Count words: Count number of individual words in a string: sample input: "hello world hello" output: hello = 2 world = 1

  • Palindrome: Check if a string is palindrome sample input: "Live not on Evil" output: True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment