Skip to content

aliamirh/pigLatin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pig Latin

Convert user input to Pig Latin

By Christine Frank, Ali Amirhamzeh, Alan Hermanns

Description

This application takes user input and converts then displays it to Pig Latin

Application Specifications

  • The program does nothing to non-alphabetical characters, since they do not contain consonants or vowels.

    • Example Input: 3
    • Example Output: 3
  • The program ignores capitalization.

    • Example Input: Puddle
    • Example Output: uddlePay
  • The program treats "y" as a consonant.

    • Example Input: you
    • Example Output: ouyay
  • The program adds "way" to the end of single-letter words beginning with a vowel.

    • Example Input: i
    • Example Output: iway
  • The program adds "way" to the end of single words beginning with a vowel.

    • Example Input: ate
    • Example Output: ateway
  • The program moves the first letter to the end of single words beginning with a single consonant and adds "ay".

    • Example Input: cat
    • Example Output: atcay
  • The program moves the beginning consonants to the end of single words beginning with multiple, subsequent consonants and adds "ay".

    • Example Input: charge
    • Example Output: argechay
  • The program moves the "u" with the beginning consonants to the end of single words with "qu" in the starting consonants and adds "ay".

    • Example Input: squeal
    • Example Output: ealsquay
  • The program manages multiple words.

    • Example Input: a dog eats
    • Example Output: away ogday eatsway

Setup/Installation Requirements

  • Clone this repository
  • Copy full path of index.html in local repository
  • Paste into new browser window

Known Bugs

None at this time

Support and contact details

Epicodus.com

Technologies Used

Javascript

License

This applications is licensed using MIT licensure

Copyright (c) 2019 Christine, Ali, Alan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published