id/email | |

password | |

forgot password | create account |

about | help | code help+videos | done | prefs |

findThirdSize

Create a method: public double findSize (double sideA, double diagonal) that will take in a side and diagonal of a triangle and find the third side, which is calculated by: Squaring both and subtracting sideA squared from diagonal squared, then square rooting. So 3,5 -> 25-9=16 square rooted is 4 findThirdSize(3, 5) → 4.0 findThirdSize(5, 13) → 12.0 findThirdSize(8, 10) → 6.0 ...Save, Compile, Run (ctrl-enter) |

Forget It! -- delete my code for this problem

Progress graphs:

Your progress graph for this problem

Random user progress graph for this problem

Random Epic Progress Graph

- Java Example Solution Code
- Java String Introduction (video)
- Java Substring v2 (video)
- Java String Equals and Loops
- Java String indexOf and Parsing
- Java If and Boolean Logic
- If Boolean Logic Example Solution Code 1 (video)
- If Boolean Logic Example Solution Code 2 (video)
- Java For and While Loops
- Java Arrays and Loops
- Java Map Introduction
- Java Map WordCount
- Java Functional Mapping
- Java Functional Filtering

- Code Badges
- Introduction to Mod (video)
- MakeBricks problem and solution (video x 2)
- FizzBuzz the famous code interview question (video)

Copyright Nick Parlante 2017 - privacy