Please discuss assignment 4 here, also share link if you found it helpful in making assignment.
Topics Covered: PROLOG AND JAVA PROGRAMMING LANGUAGES.
lectures covered 22-26.
if it's raining and cold then it's snowy.
can it converted to PROLOG rule
snowy(X):- raining(X), cold(X)
plz any one give the solution of question 1 part 2 plz guide me
what i do is.
define facts, rules, and goals according to every situation given.
A program structure is written which is not compiled with any compiler. i just make it as it is already given to our handouts.
fact is like
rule is like
goal is like
Please other students are also advised to get discussion and confirm me. am i doing right? i dont have any idea if i am doing correct.
u r doing very well
send more idea and i wl give u more comments
ISV3083 Salam ap sahe kar rahy ho mai ne bhi esy kiya mai ne rat ko tutorial sy sikha ky kesy karna he us me rule or facts ky sath lety hain jesy first wala he ky snowy (Y) In Y we put cities name and as we know that Snowy condition only fulfill if its rain and cold so which city fulfill this condition query true
lekin last ka smjh nahi a rha ky Us me sirf cold ye ya Cold kun ky agar Sirf cold lagy to wo cities bhi nahi ayain gi jahan sunny he ISV3083 ap btao gy kesy ho ga ye ?
Can u share idea in detail?????????????????????????????????????
as the its only snowy if its raining and cold to islamabad is only raining so it is false like this we solve all
Are these correct?
snowy :- raining, cold
pleasant :- cold, sunny
hot :- sunny
rainbow :- raining, sunny
lovely :- raining
Ji Khaksar its right answer
Bhai Sir nay program ko compile karnay ka kaha hay, prolog wala code compile karna hay yah java ka?
java ka karna he prolog ka nahi kaha