Search:

Type: Posts; User: fallenangel1331; Keyword(s):

Search: Search took 0.00 seconds.

  1. Re: Help with even and odd integer program

    I've figured out a much simpler way to do this



    #include
    int main(void)
    {
    int num = 1;
    int sum1 = 0, odd = 0;
    int sum2 = 0, even = 0;
  2. Re: Help with even and odd integer program

    I've figured out the opening loop (num[index - 1] != 0) but the arrays for the even/odd ints still doesn't work.

    Here's the updated code



    #include <stdio.h>
    int main(void)
    {
    int...
  3. Help with even and odd integer program

    Heres the problem: Write a program that reads integers until 0 is entered. After input terminates, the program should report the total number of even integers (excluding the 0) entered, the average...
  4. Answers
    3
    Views
    3,512

    Re: What am I doing wrong? Please help

    Thank you very much Muthupandi_s it worked great. I really apriciate it. It works great.
  5. Answers
    3
    Views
    3,512

    What am I doing wrong? Please help

    Heres the problem i have: Write a program that reads in a line of input and then prints the line out in reverse order. Recall that you can use scanf() with the &#37;c specifier to read one character at a...
Results 1 to 5 of 5
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact