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

  Building airline reservation system

Problem Description The aim of this project is to build airline reservation system. System must give two basic sets of services to an airline: First set of services allows the airline to provision its system.

  What are the contents of given register

Memory location 2000H has the word 5000H stored in it. What does each location contain after INC BYTE PTR[2000H]. Also after DEC WORD PTR[2000H]

  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.

  Benefits of programming with objects and classes

How is it different from programming with functions alone? Write down benefits of programming with objects and classes in Web applications?

  Pseudocode for linear search by using clrs3e style

Write pseudocode for linear search by using CLRS3e style used in, which scans through the sequence, looking for v.

  Prepare a presentation on backgrounds and fonts

Can you still read the text? Is it too narrow or thick? Is an icon hidden by the background? You should also include tips for choosing backgrounds and fonts.

  Program to enter answer to a math problem

Write a program which ask student to enter an answer to a math problem. The user must enter two values, one at time, and then ask for answer.

  Create a multi-threaded competition

Create a multi-threaded competition

  Class to create and draw five squares

Now write applet DrawSquares that uses your Square class to design and draw 5 squares. This code must be very simple.

  Application to convert kilometers in miles

Application will input number of kilometers, compute number of miles, and display number of miles. You will use a constant to store the kilometers-to-miles conversion factor.

  Create a project in xcode

Create a new project in XCode using the Mac OS X/Command Line Tool template

  Recursive method to search a string for a byrd

Write a recursive method that searches a string for a Byrd. A Byrd has the following properties. Its first character is an 'A'. If it is a two character Byrd then its second and last character is an 'H'.

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