Skip to content

betamore/animal-sounds-pmandrulonis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Animal Sounds

Task

  1. Write a function called cowSounds that prints "Cows go MOOOO!"
  2. Write a function called dogSounds that prints "Dogs go WOOOF!"
  3. Write a function called duckSounds that prints "Ducks go QUACK!"
  4. Write a function called whatSound that accepts a single paramete. If that parameter id Cow it should run the cowSounds function. If the parameter is Dog it should run the dogSounds function. If the parameter is Duck it should run the duckSounds function. For any other input, it should display "I am not sure what noise that animal makes"

About

animal-sounds-pmandrulonis created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published