بي بي22 Posted مايو 19, 2009 Report Share Posted مايو 19, 2009 بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاته،، شلونكم شخباركم؟ يغاليين مو عارفه من وين ابتدي صراحه عندي اسايمنت صعب شوي مو عارفه شلون احله هو عباره عن هوم اسايمنت ياريت واحد من المتبرعين او المتبرعات يسوي فيني خير ويحله ليي .. لاني حاولت وحاولت اني احله بس مو راضي يضبط ويايي البرنامج وهذا هو سؤال الاسيايمنت -------------- 1- a-Define an enumeration type, triangleType, that has the values scalene, isosceles, equilateral, and noTriangle. b- write a function, triangleShape, that takes as parameters three numbers, each of which represents the length of a side of the triangle. The function should return the shape of the triangle.( Note: in a triangle, the sum of the lengths of any two sides is greater than the length of the third side.) c- write a program that prompts the user to input the length of the sides of a triangle and outputs the shape of the triangle ------- وشكراً مقدماً Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.