Search:

Type: Posts; User: peanut

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,568

    why so sarcastic quzah? did i say something to...

    why so sarcastic quzah? did i say something to offend you?

    thanks citizen and onionKnight. it does work now... i thought onionKnight was simply making a suggestion to make my code look...
  2. Replies
    7
    Views
    1,568

    the compiler accepts (input=='+'||'-')... thats...

    the compiler accepts (input=='+'||'-')... thats not the problem... and i could use if-else tags but that would be just as difficult... regaurdless thats not whats wrong with the program...
  3. Replies
    7
    Views
    1,568

    accepting +123 help

    #include <stdio.h>

    main()
    {

    int state, n=0;
    char input;
    state=0;
    fputs("Enter a positive or negetive integer\n", stdout);
  4. Replies
    5
    Views
    3,360

    ok thank you. I figured it out.

    ok thank you.
    I figured it out.
  5. Replies
    5
    Views
    3,360

    I've looked through google, but it's more of a if...

    I've looked through google, but it's more of a if problem, I understand single character inputs, but not double...
    How does a '0' return a different answer than a '00'?
  6. Replies
    5
    Views
    3,360

    input/switch statement issues

    /*
    *
    * Purpose: Determine if a string of 0's and/or 1's ends in 00 or 11.
    *
    * Input: String of n 0's or 1's terminated with a newline
    *
    *
    * Output: Message:
    *
    * Accepted (if the...
  7. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    well... if it's the right format then why did it...

    well... if it's the right format then why did it not do anything? it doesn't space them at all=(
  8. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    i think i made it worse... #include...

    i think i made it worse...


    #include <stdio.h>
    #include <math.h>
    int main(void)

    {
  9. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    my new problem... fputs("case\t" ...

    my new problem...



    fputs("case\t" "voltage\t" "Initial Resistance\t" "Ending resistance\t" "Increment Resistance\n", stdout);

    printf("%lf\t" "%lf\t" "%lf\t" ...
  10. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    #include #include int...

    #include <stdio.h>
    #include <math.h>
    int main(void)

    {

    double volts, init, ending, increment;
    fputs("What is the voltage?", stdout);
    scanf("%lf", &volts);
    fputs("What is the...
  11. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    does anyone know anything that can help me? i...

    does anyone know anything that can help me?

    i really need it and i appreciate it.
  12. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    hehe, i'm not exactly sure what pseudocode is......

    hehe, i'm not exactly sure what pseudocode is... but i think my table is supposed to look like his example... It's at the bottom of this link... i don't think he wants me to just /t the right...
  13. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    this is kinda confusing... are you just spacing...

    this is kinda confusing... are you just spacing it out into a chart?
  14. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    thanks nadroj

    thanks nadroj
  15. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    um...

    I don't want you to do my homework for me at all... i simply don't know how to make my data be displayed in a table... thats only a small concept within my homework. My instructor has no problem...
  16. Thread: tables...

    by peanut
    Replies
    21
    Views
    2,870

    tables...

    #include <stdio.h>
    #include <math.h>
    int main(void)

    {

    double volts, init, ending, increment;
    fputs("What is the voltage?", stdout);
    scanf("%lf", &volts);
    fputs("What is the...
  17. Replies
    5
    Views
    1,266

    after i test it though i'm going to bed... so...

    after i test it though i'm going to bed... so thats the end of this post for tonight. thanks a ton. really, it was very useful.
  18. Replies
    5
    Views
    1,266

    awesome... i'm gonna go test it

    awesome... i'm gonna go test it
  19. Replies
    5
    Views
    1,266

    a couple of questions cuz i'm dumb... first....

    a couple of questions cuz i'm dumb...

    first. Is "void foo(void)" significant or can i use any name like "jaosdh(void)"?

    second. Is their any way i could make it loop x times where x is...
  20. Replies
    5
    Views
    1,266

    how do i loop it?

    /*
    * Author: Joe blow
    *Date: 10/12/2006
    *Class: CSE 121, Assignment 3, Excercise 4
    *
    * This program calculates the population based upon the birth and death
    *rates, as well as the initial...
Results 1 to 20 of 20