assignment3 -...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ------------------------------------------------------------------------------mobydick.cDescription-------------------------------------------------------------------------------The purpose of this program is to introduce you to programming in C using strings and arrays. As usual make sure to modularize your program properly (use functions when appropriate) and include meaningful comments.Check main.c to find the anagrams in the text Moby Dick by HermanMelvilleAn anagram is a string of letters that are scrambled or have transposed another word or (random) phrase. As an example, the string:Itsgrace is an anagram for the phrase:C is greatNote that an anagram consists of letters and digits. All spaces in the text are ignored. All texts are NOT case sensitive.Hence, your program needs to solve:What is the phrase, or phrases, and where do they appear in the book thatmatche the anagrams?You should read the MobyDick text from standard input (i.e. enables you touse getchar or cin)....
View Full Document

Page1 / 2

assignment3 -...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online