Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1

    Default Help with a simple odd/even number program and determine the largest number

    1. Write a program that determine the input number whether odd or even

    2. Write a program that accept 3 numbers. Display and determine the largest number.

    please help!! I want to know.. I can't think anymore
    this is programming 1

  2. #2

    Default Re: Help with a simple odd/even number program and determine the largest number

    What language? C?

  3. #3

    Default Re: Help with a simple odd/even number program and determine the largest number

    yes.. this is in selection control structure

  4. #4

    Default Re: Help with a simple odd/even number program and determine the largest number

    Sayun ra man na bro.
    1. Use modulo (%) operator.
    2. If..else if..

  5. #5

    Default Re: Help with a simple odd/even number program and determine the largest number

    hahaha wa ko ksabot bro.. nag.log ang utok

  6. #6

    Default Re: Help with a simple odd/even number program and determine the largest number

    Hatagan na lang tkag code diretso? Or old fashioned way ta? Hehehe.

  7. #7

    Default Re: Help with a simple odd/even number program and determine the largest number

    hahaha bsag unsa bsta mkasabot ko, okay na kaau na

  8. #8

    Default Re: Help with a simple odd/even number program and determine the largest number

    1.

    scanf("%d", x);

    if (x % 2 == 0){
    printf("Even");
    } else {
    printf("Odd");
    }

    2.

    scanf("%d %d %d", x , y, z);

    if (x > y && x > z){
    printf("%d", x);
    } else if(y > x && y > z){
    printf("%d", y);
    } else if(z > x && z > y){
    printf("%d", z);
    }

  9. #9

    Default Re: Help with a simple odd/even number program and determine the largest number

    Thank you kaau bro, ako nya n itry

  10. #10

    Default Re: Help with a simple odd/even number program and determine the largest number

    bsta modulo bro kai ang decimal maoy gamiton na value ana pero divide ra japon ang process. hope katabang ko gamay

Page 1 of 3 123 LastLast

Similar Threads

 
  1. Need help with microcontroller programming
    By ares623 in forum Programming
    Replies: 19
    Last Post: 11-21-2011, 10:49 AM
  2. Need help with our program
    By jay_burn in forum Programming
    Replies: 11
    Last Post: 05-16-2010, 02:40 PM
  3. Replies: 20
    Last Post: 02-27-2010, 01:39 PM
  4. What's the largest number?
    By Badekdek in forum Science
    Replies: 63
    Last Post: 11-11-2009, 03:03 AM
  5. [C] help with program
    By ares623 in forum Programming
    Replies: 2
    Last Post: 03-27-2007, 03:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top