Thread: check my code

  1. #1
    Registered User
    Join Date
    Sep 2016
    Posts
    1

    check my code

    my assignment is to make a program that prints the n-th Armstrong number. this is what i have so far but for some reason it's not working

    check my code-screenshot_2-jpg

  2. #2
    Registered User
    Join Date
    Jun 2015
    Posts
    1,640
    What's an "Armstrong number"? What's the nth Armstrong number?

    In what way is your program "not working"?

    Why does j go from 152 to 1000000? Why does i go from 10 to 25 (over and over again)?

    Why did you post your code as a picture? We can't copy/paste/run your code from a picture. Use code tags:

    [code]
    your
    code
    here
    [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need someone to check my code
    By Stormboy in forum C Programming
    Replies: 5
    Last Post: 08-28-2013, 02:31 PM
  2. check this code out
    By abyssphobia in forum C++ Programming
    Replies: 9
    Last Post: 08-15-2004, 07:31 PM
  3. Check out my code
    By joshdick in forum C++ Programming
    Replies: 9
    Last Post: 09-17-2003, 07:41 PM
  4. check out this code
    By brutal in forum C Programming
    Replies: 8
    Last Post: 05-21-2002, 10:38 PM
  5. Check my code Please
    By AdioKIP in forum C++ Programming
    Replies: 1
    Last Post: 03-12-2002, 08:52 PM

Tags for this Thread