Question: the previous code is not working: % Facts shape ( conical ) . shape ( flat ) . shape ( bell _ shaped ) .
the previous code is not working: Facts
shapeconical
shapeflat
shapebellshaped
shapeconvex
edibleedible
poisonouspoisonous
sizesmall
sizelarge
sizemedium
colorwhite
colorred
colorbrown
coloryellow
colorreddottedwithwhite
Rules
isedibleMushroom : sizeMushroom small colorMushroom white shapeMushroom convex
ispoisonousMushroom : sizeMushroom large colorMushroom red shapeMushroom flat
isedibleMushroom : sizeMushroom medium colorMushroom brown shapeMushroom bellshaped
isedibleMushroom : sizeMushroom small colorMushroom yellow shapeMushroom conical
ispoisonousMushroom : sizeMushroom large colorMushroom brown shapeMushroom convex
ispoisonousMushroom : sizeMushroom medium colorMushroom red shapeMushroom bellshaped
ispoisonousMushroom : sizeMushroom small colorMushroom brown shapeMushroom conical
isedibleMushroom : sizeMushroom medium colorMushroom yellow shapeMushroom convex
ispoisonousMushroom : colorMushroom reddottedwithwhite
and it show this message error : Clauses of ispoisonous are not together in the sourcefile
Earlier definition at line
Current predicate: isedible
Use : discontiguous ispoisonous to suppress this message
procedure sizeAB does not exist
Reachable from:
isedibleA i need sompne to solve this problem for me please
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
