Prolog program to reads employee-s number

Assignment Help Programming Languages
Reference no: EM1351764

Q1) Write a prolog program that reads an employee's number from the keyboard, number of hours worked and an hourly rate of pay. The program is to calculate the weekly pay and print the result in a table with the following format.

Employee# Hours Rate Weekly pay
1234 40 15 600
3479 42 25 1050

Reference no: EM1351764

Questions Cloud

Explain wal-mart''s use of horizontal integration : Explain Wal-Mart's use of horizontal integration as they have grown both domestically and internationally
Explain in words why your answer makes sense : Calculate the percentage change in nominal GDP, real GDP and the GDP deflator in 2009 and 2010 from the preceding year. For each year, identify the variable that does not change. Explain in words why your answer makes sense.
Depot justify budgeting so much money for philanthropy : how can Home Depot justify budgeting so much money for philanthropy? What areas other than the environment, disaster relief, affordable housing, and at-risk youth might be appropriate for strategic philanthropy by Home Depot?
Superior asset allocation ability : A mutual fund with a beta of 1.1 has outperformed the S&P500 over the last twenty years. Does the mutual fund manager; have had superior stock selection ability.
Prolog program to reads employee-s number : Write a prolog program that reads an employee's number from the keyboard, number of hours worked and an hourly rate of pay.
Compute the corresponding compensating : Compute the corresponding Compensating and Equivalent Variation. Illustrate your answers graphically. Compute the compensating demands for goods X and Y. Illustrate your answers graphically.
Find the speed with which a wave travels on this string : A 710 kg car stopped at an intersection is rear-ended by a 1800 kgtruck moving with a speed of 16 m/s. If the car was in neutral andits brakes were off, so that the collision is estimated elasticfind the final speed of the truck. Find the final sp..
Lifespan development research methods : How can I compare and contrast the strengths and weaknesses of two lifespan development research methods?
Research on financial services industries : Make research on financial services industries. Identify the prevalent employee benefit practices for that industry. Explain the discretionary benefits that are offered in your chosen industry.

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