help with c++ assignment

i need help in programming this assignment.yOUR HELP IS APPRECIATED.


write a program that asks the user for a non-negative positive number greater than 1. The user is re-prompted to enter a valid number if a number less than 1 is entered. The program then outputs: (a) the largest Fibonacci number that is less than or equal to the input and (b) the largest prime number less than or equal to the input.

(a) you must define 3-4 appropriate functions, (b) write proper comments describing critical aspects of your logic and reasoning, (c ), must be accurate.
Why did you decide that we must?! :)
closed account (zb0S216C)
Here's how it works: you post the code you have now, and we assist you based on what you've wrote.

Wazzak

P.S: Manc s**t-fan.
Topic archived. No new replies allowed.