まて慌てるな
三角形の辺の長さx,y,z(x >= y >= zとする)を読み込み、直角三角形、直角二等辺三角形、正三角形、二等辺三角形かを判断するプログラムを作りなさい。
この問題、直角三角形の判定をどう行うのかがわからずに困った管理人です。
幾何はだめなんですよ幾何は!これが幾何という程の話かは知りませんけど!
ちなみに答えがわからなかった私レベルの方に解答。
x^2 = y^2 + z^2を満たしていれば、それは直角三角形です。
本来、『複雑な分岐』という課題であって、そこは悩むところじゃないのですけど。
と、まあそんな感じで、C言語の復習を頑張っています。
正直、分岐やループのような課題よりも細かい仕様を聞いてくる課題が難しい(と、いうより覚えていない)ですね。
float型の有効桁数は6桁まで…と言われても、間抜けな顔でそーなのかーと言うより他ありません。
冗談抜きで、きっちり復習しておいてよかった気がしますね。
後は気温が高かったくらいで特にありません。
Comments
By simply Jerry McDonald <a href="http://www.oneveryonelips.com/represents.php?key=chanel-079" target="_blank">シャネル 髪留め</a>
One particular tsp of dark wine white vinegar <a href="http://www.oneveryonelips.com/represents.php?key=chanel-113" target="_blank">シャネル ワンピース</a>
A couple weeks ago, your Raab Series, a top dealership involving traditional docs, reported that it'll offer for sale the main, just identified old report where Adams orders Wine red intended for his or her residence in Numerous very first embassy with Britain. [url=http://www.oneveryonelips.com/represents.php?key=chanel-109]シャネル ベルト[/url]
The actual place also has tracks along with websites for that commuter rail teaches, at this time under construction, that could deliver travellers by , Arvada and also Westminster with 2016. North of manchester Metro range from Thornton will be slated to get started on functions within 2018. [url=http://www.oneveryonelips.com/represents.php?key=chanel-071]シャネル ジュエリー[/url]
Next will be the standings from the French Serie The after Friday's complement (tabulated below matches enjoyed, picked up, attracted, misplaced, objectives with regard to, objectives towards, factors) in line with Xinhua:
<a href="http://www.g70j271w7vwqdd6vkj281i638z2l5ev2s.org/">aydjbdkresh</a>
[url=http://www.g70j271w7vwqdd6vkj281i638z2l5ev2s.org/]uydjbdkresh[/url]
ydjbdkresh http://www.g70j271w7vwqdd6vkj281i638z2l5ev2s.org/