Question
Part 1 Fahrenheit to Celsius Create a new function that will take a temperature in Fahrenheit and return the equivalent value in Celsius. BONUS Create
Part 1 Fahrenheit to Celsius Create a new function that will take a temperature in Fahrenheit and return the equivalent value in Celsius. BONUS Create another user-defined function that converts Kelvin to Fahrenheit
Part 2 Fibonacci Create a new function that will take a single value, and return the corresponding value in the Fibonacci sequence BONUS Create another user-defined function that takes an integer value as a parameter that returns the number of the prior Fibonacci number. For example, if I call the function with 7, I would expect to see 5 as the answer
Part 3 - Sum of numbers Create a new function that will take a single integer value as a parameter, and return the sum of all number from 1 up to that number Include logic to return the value of -1 if the argument passed to the function is less than 1
Part 4 - Prime number validation Create a new function that will take a single integer value as a parameter, and return true if that number is prime, and false otherwise
we use the processing app and PROCESSING language no other codes are required
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started