Create a prolog program that solves the logic puzzle

Assignment Help Programming Languages
Reference no: EM131476563

Question: Create a Prolog program that solves the following logic puzzle, printing the right answer for each of the four cases.

There are 4 customers: Genevieve, Lucia, Shawna, Vanessa

There are 4 shoe sizes: 4, 5, 6, 7

There are 4 shoe manufacturers: Abbott Hill, Manzarita, Graffetz, Williford

1. Of the Manzarita footwear and Lucia's pair, one was a size 7 and the other was a size 4.

2. Genevieve's pair was 2 sizes smaller than the Abbott Hill footwear.

3. Vanessa's pair was 2 sizes larger than Genevieve's pair.

4. The Graffetz footwear was somewhat larger than Shawna's pair.

For each customer, show their name, their shoe size and their shoe's manufacturer in a format similar to this:

Joe bought a size 13 Nike.

Tom bought a size 12 Reebok.

Reference no: EM131476563

Questions Cloud

What is system architecture : System Architecture- write a minimum 400 words on Microsoft Offfice APA format on the below questions, please provide references.
Provide one example of business management applying : Discussion: "Statistical Engineering Frameworks"- Provide one example of business management applying each framework to support your response.
Describe gang migration and immigration : Explain how the threat of gang violence impacts the surrounding businesses and communities.Describe gang migration and immigration.
Examine the theoretical framework : In an analysis of 750-900 words, examine the theoretical framework, style, and leadership traits presented in the selected book.
Create a prolog program that solves the logic puzzle : Create a Prolog program that solves the following logic puzzle, printing the right answer for each of the four cases
Write a code solving the pred-prey ode system : Goals: All projects are intended to make use what we learned over the course; in particular all projects will require you to implement an "event-like" ROOT.
Suggest the main tools that you would use : Suggest the main tools that you would use and the data that you would collect in order to analyze the business process and correct the problem.
What were the solutions used to address the problem : What were the solutions used to address the problem? Was the case you described a special-cause or common cause? Do you feel the solution or approach used?
How you integrate creativity into your own planning process : Identify the key steps that might require a contingency plan. Explain how you might integrate creativity into your own planning process.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd