prime(int num)
Type: Posts; User: coachortiz
prime(int num)
Hello, I want to write a function that shows all factors of an integer, ive only been able to display prime numbers but i want all factors to show. Any help is appreciated.
ok thank you very much, the information now prints, however the doubles need to be right aligned when it prints. How do you do this?
Yea im new to C programing... Is there an easier way to print this? Im no longer getting segmentation errors, but the information isnt printing properly.
I keep getting this error for some reason...
#include <stdio.h>
int main (void)
{
//local declaratives