我是 Ada 编程语言新手,正在做练习,
\n说明如下,
\n\xe2\x80\xa2 Write a case statement with 4 alternatives that displays information on a roll of a pair of dice.\n\xe2\x80\x93 A winning roll (7 or 11)\n\xe2\x80\x93 A losing roll (2 or 3 or 12)\n\xe2\x80\x93 A point roll (4 or 5 or 6 or 8 or 9 or 10)\n\xe2\x80\x93 An invalid roll (less than 2 or greater than 12)\n\xe2\x80\xa2 Use the others option for the point roll\n\xe2\x80\x93 In reality, I\xe2\x80\x99d use the others option for invalid …Run Code Online (Sandbox Code Playgroud) ada ×1