![]() |
Help me to find the largest prime factor of an integer.
My program didn't work . I couldn't find any mistake . When i compiled it , it showed error in 17 line .What should i do ?
Here is my code : Code:
#include<stdio.h> |
Re: Help me to find the largest prime factor of an integer.
The compiler showed error in 17th line . I used dev-c++ 4.9.9.2 .
|
Re: Help me to find the largest prime factor of an integer.
My mind reading skills are a bit off today. Would you be so kind as to tell us what the compiler error was?
Please format your code for readability and post it using code tags. Type: [code] int main() { return 0; } [/code] to give this: Code:
|
Re: Help me to find the largest prime factor of an integer.
Also please explain your alrogithm and what the variables are for. Using single letter variable names makes the code completely unreadable.
|
| All times are GMT +5.5. The time now is 09:03. |