aboutsummaryrefslogtreecommitdiff
path: root/challenge-105/abigail/README.md
blob: 22fa1e86ab4949cc780e3dede0024824290812cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Solution by Abigail
## [Nth root](https://perlweeklychallenge.org/blog/perl-weekly-challenge-105/#TASK1)

You are given positive numbers `$N` and `$k`.

Write a script to find out the `$N`th root of `$k`. For more information,
please take a look at the
[wiki page](https://en.wikipedia.org/wiki/Nth_root#Computing_principal_roots).

### Examples
~~~~
Input: $N = 5, $k = 248832
Output: 12

Input: $N = 5, $k = 34
Output: 2.02
~~~~

### Solutions
* [AWK](awk/ch-1.awk)
* [bc](bc/ch-1.bc)
* [C](c/ch-1.c)
* [Fortran](fortran/ch-1.f90)
* [Lua](lua/ch-1.lua)
* [Node.js](node/ch-1.js)
* [Pascal](pascal/ch-1.p)
* [Perl](perl/ch-1.pl)
* [Python](python/ch-1.py)
* [Ruby](ruby/ch-1.rb)
* [Scheme](scheme/ch-1.scm)
* [SQL](sql/ch-1.sql)

### Blog
[Perl Weekly Challenge 105: Nth Root](https://wp.me/pcxd30-xl)

## [The Name Game](https://perlweeklychallenge.org/blog/perl-weekly-challenge-105/#TASK2)

You are given a `$name`.

Write a script to display the lyrics to the Shirley Ellis song The
Name Game. Please checkout the
[wiki page](https://en.wikipedia.org/wiki/The_Name_Game) for more information.

### Notes
We're not playing.

This is a childrens game. How to perform the song depends on how a name
is *pronounced* -- not written. Depending on language, region, and 
parential preference, names written identically can be pronounced differently.

### Solutions

### Blog