Search:

Type: Posts; User: Crutoy37

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    3,898

    Just have to pad the spaces first and then draw a...

    Just have to pad the spaces first and then draw a star.
  2. Replies
    15
    Views
    2,273

    How far did you get? I'll be working on something...

    How far did you get? I'll be working on something similar soon.
  3. Replies
    10
    Views
    2,971

    Thanks aGerman, it is useful.

    Thanks aGerman, it is useful.
  4. Replies
    10
    Views
    2,971

    Oh wow, that's neat. Thanks for that. Totally...

    Oh wow, that's neat. Thanks for that. Totally eliminates the rest of the code. No the book did not cover yet that the printf has this formatting ability. I assume it might go into more details when...
  5. Replies
    10
    Views
    2,971

    This is how I solved it. I am not sure if this is...

    This is how I solved it. I am not sure if this is how it was supposed to be done. I am looking more for validation if I was on the right path or critique. Please let me know.



    int main(void)...
  6. Replies
    10
    Views
    2,971

    Yes, newNumber should have been initialized to 0...

    Yes, newNumber should have been initialized to 0 at the beginning. I haven't covered arrays yet, therefore I can't use it yet. I am close to solving this without using separate variables. I'll post...
  7. Replies
    10
    Views
    2,971

    Yes, I think I solved the first part. This is...

    Yes, I think I solved the first part. This is what I have so far.


    int main(void){
    int number, newNumber,remainder,diviser = 1000;


    printf("%s","Enter a four digit number: ");
    ...
  8. Replies
    10
    Views
    2,971

    Encrypt a number

    Hello everyone. I am self learning C from the Dietel and Dietel book C How to program. I am doing an assignment at the end of the chapter that requires to encrypt a four digit integer as follows....
Results 1 to 8 of 8