Basic Mathematical Operations
Your task is to create a function that does four basic mathematical operations.
Your task is to create a function that does four basic mathematical operations.
Write a function that takes an array of words and smashes them together into a sentence and returns the sentence.
Make a simple function called greet that returns the most-famous "hello world!".
Nathan loves cycling. You get given the time in hours and you need to return the number of litres Nathan will drink, rounded to the smallest value.
Make a function that will return a greeting statement that uses an input; your program should return, "Hello, how are you doing today?".
Write a function that will take the number of petals of each flower and return true if they are in love and false if they aren't.
Your classmates asked you to copy some paperwork for them. You know that there are 'n' classmates and the paperwork has 'm' pages.
Implement a function which convert the given boolean value into its string representation. Note: Only valid inputs will be given.
Very simple, given a number (integer / decimal / both depending on the language), find its opposite (additive inverse).
Create a function which answers the question "Are you playing banjo?".