User Profile
Collapse
-
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;...Leave a comment:
-
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...Leave a comment:
-
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... -
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.)...
No activity results to display
Show More
Leave a comment: