# Solutions by Abigail ## [Challenge #1](https://perlweeklychallenge.org/blog/perl-weekly-challenge-001/#challenge-1) Write a script to replace the character `e` with `E` in the string `"Perl Weekly Challenge"`. Also print the number of times the character `e` is found in the string. ### Note We will not be assuming a fixed string. Instead, we read from STDIN, and for each line read, we change the 'e' characters to 'E', and count the number of time we encountered an 'e'. ### Solutions * [AWK](awk/ch-1.awk) * [Bash](bash/ch-1.sh) * [Befunge-93](befunge/ch-1.bf93) * [C](c/ch-1.c) * [lua](lua/ch-1.lua) * [Node.js](node/ch-1.js) * [Perl](perl/ch-1.pl) * [Python](python/ch-1.py) * [Ruby](ruby/ch-1.rb) ## [Challenge #2](https://perlweeklychallenge.org/blog/perl-weekly-challenge-001/#challenge-2) Write a one-liner to solve the *FizzBuzz* problem and print the numbers `1` through `20`. However, any number divisible by `3` should be replaced by the word `fizz` and any divisible by `5` by the word `buzz` Those numbers that are both divisible by `3` and `5` become `fizzbuzz`. ### Note We will not be assuming a fixed upper bound. Instead, we read the upper boad from STDIN. ### Solutions * [AWK](awk/ch-2.awk) * [Bash](bash/ch-2.sh) * [Befunge-93](befunge-93/ch-2.bf93) * [C](c/ch-2.c) * [lua](lua/ch-2.lua) * [Node.js](node/ch-2.js) * [Perl](perl/ch-2.pl) * [Python](python/ch-2.py) * [Ruby](ruby/ch-2.rb)