User Profile

Collapse

Profile Sidebar

Collapse
singhm
singhm
Last Activity: Oct 26 '06, 10:31 PM
Joined: Oct 25 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • singhm
    replied to Totally lost help Triangle program
    in C
    No thank you!
    See more | Go to post

    Leave a comment:


  • singhm
    replied to Totally lost help Triangle program
    in C
    Hey- Can you help me out on this?
    Everything wokrs for me now I jsut need the program to end after the user enters in sides such as; 1-1-4 it outputs cannot form a triangle which is correct but it goes on to say side type & angle type functions, i need it to stop after cannot form a triangle the simplest way , any thoughts ??






    #include<iostre am>
    using namespace std;...
    See more | Go to post

    Leave a comment:


  • singhm
    replied to Help on simple left brace error
    in C
    No still doesnt work
    int main()

    Do you know whats wrong wioth this
    1>c:\cs 140\assignment 5\assignment 5\main.cpp(93) : fatal error C1075: end of file found before the left brace '{' at 'c:\cs 140\assignment 5\assignment 5\main.cpp(69)' was matched


    { //start main
    int a, b, c;
    getsides(a,b,c) ;
    while(1)



    { sortsides...
    See more | Go to post

    Leave a comment:


  • singhm
    started a topic Help on simple left brace error
    in C

    Help on simple left brace error

    Anybody know how to fix this??????????

    [B]ERROR: 1>c:\cs 140\assignment 5\assignment 5\main.cpp(88) : fatal error C1075: end of file found before the left brace '{' at 'c:\cs 140\assignment 5\assignment 5\main.cpp(69)' was matched

    void sidetype(int a, int b, int c)
    {
    if(a==b==c)
    cout<<"Equilate ral Traingle\n";
    if(a==b || c==a || b==c)
    cout<<"Isoscele s...
    See more | Go to post

  • singhm
    started a topic Totally lost help Triangle program
    in C

    Totally lost help Triangle program

    Hi guys so I have a trianlge program having hard time finishing this though,
    I have to develop a program which is the following:

    Write a program that will allow the user to enter the 3 lengths and then tell what kind of triangle the 3 lengths form.
    Function main should consist mainly of a loop and calls to functions. Let the functions do the work.
    (Think of main as the boss who delegates all of the work to others.)...
    See more | Go to post
No activity results to display
Show More
Working...