Search:

Type: Posts; User: elpedoloco

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,205

    precedence questions

    true ? 1 : 2 + 3 // why is this 1? False = 0, true = 1 right? // Then why is this 1 .
    also
    24 / 6 * 2 // I got this as well.
    has value 8, not...
  2. Replies
    4
    Views
    1,420

    thanks I am working on 5 different programs I've...

    thanks I am working on 5 different programs I've fixed most of my code I will post once I am done so I can get your opinion, as always, your help is appreciated.
  3. Replies
    4
    Views
    1,420

    if and else statement question

    I was assigned to input a 4 digit by the user and output each number in every line. My question is in the code as comments that follows:



    #include <iostream>
    #include <string>


    using...
  4. Replies
    22
    Views
    2,126

    Thanks Andrew you been great help.

    Thanks Andrew you been great help.
  5. Replies
    22
    Views
    2,126

    Sorry Andrew, I do appreciate your help, I am...

    Sorry Andrew, I do appreciate your help, I am just getting some weird compiler outputs I keep getting big numbers;
    I understood how each character takes place depending on the digit and thus we must...
  6. Replies
    22
    Views
    2,126

    well the college I go to offers many programming...

    well the college I go to offers many programming classes, the teachers itself do make fun of the classes as my next semmester class is cs 570 which is java but you start at 575 which gives you the...
  7. Replies
    22
    Views
    2,126

    Awesome, so for my problem I understand that: x...

    Awesome, so for my problem I understand that:
    x takes value of 100s
    y takes value of 10s and
    z takes value of 1s

    I tried to do the conversion as follows
    digit =(x+100)+(y+10)+(z+1) however...
  8. Replies
    22
    Views
    2,126

    well i keep thinkin arithmetically, you'd...

    well i keep thinkin arithmetically, you'd multiply 5x10 and 0x10 as well? to give you 50? My teacher keeps telling us that compiler does not use understand basic arithmetic rules
    so I might be...
  9. Replies
    22
    Views
    2,126

    Thanks Andrew that made more sense, however in...

    Thanks Andrew that made more sense, however in the conversion output I am getting weird numbers, I know this is due to the ascii code table which has 255 characters according to Ascii Table - ASCII...
  10. Replies
    22
    Views
    2,126

    hello thanks for the insight in my issue guys...

    hello thanks for the insight in my issue guys I've succesfully done part c which took me a few since I am a bit slow :P
    but ether way I just want to make sure I am doing it right. here is my code...
  11. Replies
    22
    Views
    2,126

    3 small char problems

    hi guys I am having a bit of trouble with chars my problem is as follows:

    c. (No prompts or explanatory text necessary.) The user types a 3-digit number which you input as 3 separate...
Results 1 to 11 of 11