Questions tagged [triangle]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Week 2: valid_triangle function example — compiling [errors]

This goes to week 2: Functions mini lecture. We create a custom function for verifying whether we have a valid triangle by assessing it's 3 sides. I wanted to elaborate on the code. Since, this ...
0
votes
1answer
28 views

Pset2 Functions video - Valid triangle solution

I tried to create a solution involing some of the new things learned in the weeks lecture such as arrays. How can I improve on this and why is my do loop to obtain a positive float value for the ...
0
votes
1answer
113 views

cs50 mario.c more check errors

I could not find the solution for my error on cs50 mario.c/more as my output shows perfectly fine on the terminal but i get check error which I don't understand please help: :( handles a height of 1 ...
0
votes
2answers
222 views

sides of triangle. returning value

problem: I'm making a triangle. side lengths will be provided by user. thats it. only rules : any 2 side lengths of the triangle must be greater than 3rd side length. no sides can be <= 0. if these ...