Notices
Results 1 to 1 of 1

Thread: Can anyone help me what is the wrong?

  1. #1 Can anyone help me what is the wrong? 
    Forum Freshman
    Join Date
    Jan 2013
    Posts
    7
    I have one very small problem that,

    #include<stdio.h>
    #include<conio.h>
    #include<math.h>
    Void main()

    {
    clrscr();
    int a,b,c,max;
    printf("Input the value of tringle=");
    scanf("%d%d%d",&a,&b,&c);
    max=a;
    if(a<b)
    max=b;
    if(b<c)
    max=c;
    printf("The result of tringle is=%.2f",max);
    getch();
    }


    Reply With Quote  
     

  2.  
     

Similar Threads

  1. What is right and wrong
    By PaulMichael in forum Scientific Study of Religion
    Replies: 31
    Last Post: June 20th, 2012, 10:19 PM
  2. Replies: 14
    Last Post: October 15th, 2009, 08:23 PM
  3. right?/wrong?
    By timothy182 in forum Philosophy
    Replies: 21
    Last Post: September 18th, 2007, 11:15 AM
  4. right or wrong?
    By Darthskywalker699 in forum Behavior and Psychology
    Replies: 6
    Last Post: December 30th, 2006, 05:48 PM
  5. What's wrong with this?
    By netnut in forum Mathematics
    Replies: 27
    Last Post: December 19th, 2006, 01:43 PM
Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •