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 pseudocode

Write pseudocode that represents the abstract functions of the enqueue and dequeue operations. Define and explain any supplementary information needed by your pseudocode.

  Write a program to create three identical list

Write a program to create three identical list, list1, list2, and list3, of 5000 elements. The program then sorts list1using quick sort, list 2 using insertion sort.

  Program to simulate rolling one die

Write a program which simulates rolling one die using the following steps: Prompt the user for the number of sides on the die.

  Write functions

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

  Write a paper on memory management

Write a paper on Memory Management

  Write a program using binary search approach

Write a program using binary search approach

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Program to multiply two integers

What occurs when you multiply two integers whose product is larger than largest int value? Try out example and report your findings.

  Program to prompt a user for hourly pay rate

Create program called "calculatePay" which will prompt user for their hourly pay rate.

  Explaining object hierarchy in object-oriented programming

Study the concept of inheritance and the object hierarchy in object-oriented programming, and write a paper comparing these concepts with the concept of inheritence.

  Defining method dashedline with one parameter

Write a definition of method dashedLine, with one parameter, an int .

  Writing script for fahrenheit in celsius temperature

Use functions to write script which enables user to enter either Fahrenheit temperature and display Celsius equivalent or enter Celsius temperature.

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