User Profile

Collapse

Profile Sidebar

Collapse
Mimiyuu
Mimiyuu
Last Activity: Dec 13 '15, 09:32 AM
Joined: Dec 11 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Mimiyuu
    replied to Highest and lowest number in one structure
    in C
    Code:
    main ()
    
    {
    int a,b,c,d,e;
    clrscr();
    p("Enter a number: ");
    scanf("%d%d%d%d%d",&a,&b,&c,&d,&e);
    if ( a<b && a<c && a<d && a<e )
    p("Lowest number: %d\n",a);
    else if (a>b && b>c && c>d && d>e )
    p("Highest number: %d\n",a);
    else if ( b<a && b<c
    ...
    See more | Go to post
    Last edited by zmbd; Dec 13 '15, 03:29 PM.

    Leave a comment:


  • Mimiyuu
    started a topic Highest and lowest number in one structure
    in C

    Highest and lowest number in one structure

    what I'm gonna do in my problem program? Can you help me in that one?
    Create a program that you have input 5 numbers and in the output will identify the highest and lowest number. Seletion structure in turbo c++
    See more | Go to post
No activity results to display
Show More
Working...