# help me correct my program

posted 3 years ago

out put is depending on input we are giving. for every prime number and Fibonacci number it is saying true and some times "true" will be printed more than once.

and when it is not either prime or Fibonacci number it is not showing anything. i got Fibonacci and prime number programs separately and were running successfully but combining them and getting out put is making me stuck.

- 0

Ankit Dan wrote: ....use the code tag please

and please tell us what is the output you are getting..

out put is depending on input we are giving. for every prime number and Fibonacci number it is saying true and some times "true" will be printed more than once.

and when it is not either prime or Fibonacci number it is not showing anything. i got Fibonacci and prime number programs separately and were running successfully but combining them and getting out put is making me stuck.

I agree. Here's the link: http://aspose.com/file-tools |