Jump to content
منتدى البحرين اليوم

ممكن مساعده في حل هذا الاسايمنت ..


Recommended Posts

بسم الله الرحمن الرحيم


السلام عليكم ورحمة الله وبركاته،،

شلونكم شخباركم؟

يغاليين مو عارفه من وين ابتدي صراحه عندي اسايمنت صعب شوي مو عارفه شلون احله هو عباره عن هوم اسايمنت :de20:

ياريت واحد من المتبرعين او المتبرعات يسوي فيني خير ويحله ليي .. لاني حاولت وحاولت اني احله بس مو راضي يضبط ويايي البرنامج :ssm11:

وهذا هو سؤال الاسيايمنت :n10:
--------------
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
-------

وشكراً مقدماً :n5:
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
الرد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...