Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 How you will be graded Each part of the lab is 20 pts each, with an additional 5 points for good program structure and comments BONUS activities are worth 5 pts each

we use the processing app and it is in PROCESSING LANGUAGE. just want to make that clear. no other language is used

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books