Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

How do i start with this.

help would be appreciated.

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 MohammadKhan

MohammadKhan

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 25 February 2016 - 09:20 PM

Below are guidelines for posting a good programming question. Delete it before posting your topic!

#include <stdio.h>

 
main()
{
 
        int i,n;
        printf("Enter a positve number greater than 2 :");
        scanf("%d",&n);
        for(i=2;i<=n;i++)
        {
        if (n%i==0)
        printf("factors are %d\n",i);
        }
}
 

Attached Thumbnails

  • hw1.PNG


#2 cabinweb

cabinweb

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 04 March 2016 - 02:18 AM

I will check it but not working well.






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download