contents of faketext.txt. after I enter "data" as in 1,2,3 (pertaining to lines 1,2,3 of txt file) it should print the mean median and mode

Far far away, behind the word mountains, far from the countries Vokali +a and Consonantia, there live the blind texts. Separated they live in + Bookmarksgrove right at the coast of the Semantics, a large language + ocean. A small river named Duden flows by their place and supplies i +t with the necessary regelialia. It is a paradisematic country, in wh +ich roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it + is an almost unorthographic life One day however a small line of bli +nd text by the name of Lorem Ipsum decided to leave for the far World + of Grammar. The Big Oxmox advised her not to do so, because there we +re thousands of bad Commas, wild Question Marks and devious Semikoli, + but the Little Blind Text didn’t listen. She packed her seven versal +ia, put her initial into the belt and made herself on the way. When she reached the first hills of the Italic Mountains, she had a la +st view back on the skyline of her hometown Bookmarksgrove, the headl +ine of Alphabet Village and the subline of her own road, the Line Lan +e. Pityful a rethoric question ran over her cheek, then she continued + her way. On her way she met a copy. The copy warned the Little Blind Text, that where it came from it woul +d have been rewritten a thousand times and everything that was left f +rom its origin would be the word "and" and the Little Blind Text shou +ld turn around and return to its own, safe country. But nothing the c +opy said could convince her and so it didn’t take long until a few in +sidious Copy Writers ambushed her, made her drunk with Longe and Paro +le and dragged her into their agency, where they abused her for their + projects again and again. And if she hasn’t been rewritten, then the +y are still using her.

In reply to Re^5: Mean, Median and Mode by Noob@Perl
in thread Mean, Median and Mode by Noob@Perl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.