Jump to content

Recommended Posts

1. Create a denomination program. See the example below. Input amount: 3897

1000: 3

500: 1

200: 1

100: 1

50: 1

20: 2

10:0

5:1

1: 2

2. Create a program that will compute the ideal age of a man's wife. See the example below.

Input Man's Age: 27

Formula: Man'sAge/2 + 7

Your ideal Wife's age is: 20 

 

Please send the Output as reply and please include the codes

Edited by Given-kun
Edit
30 minutes ago, Given-kun said:

Please send the Output as reply and please include the codes

From the Forum Guidelines...

Quote

Users will not post their homework questions expecting to get their homework coded for them. If you have a question about part of the assignment that you do not understand, please post asking for an explanation rather than the code.

If you are having a problem, show us what you have tried already and tell us which bit is giving you the problem.

To this question, I have more questions than answers.

1.) Will the PHP program actually bring such a wife?
2.) If so, how much will this program cost?
-and-
3.) What is the purpose of the money denominations? Is that how much money you need to keep the wife from running off with a younger man?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.