Computers & Internet Logo

Related Topics:

Posted on Jan 29, 2011

Write a programme that takes three numbers as input from the user and find out wheather one of the three numbers is the airthmetic mean of the other two. for example : input: 7, 11, 15 output: 11 is the mean of 7 and 15. input: 27, 23, 31 output: 27 is the mean of 23 and 31. input: 7, 8, 10 output: no number is the mean of the other two.

1 Answer

TechRx Inc http://techrxgb.com

Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

Champion:

An expert who has answered 200 questions.

Governor:

An expert whose answer got voted for 20 times.

  • Contributor 331 Answers
  • Posted on Jan 29, 2011
TechRx Inc http://techrxgb.com
Contributor
Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

Champion:

An expert who has answered 200 questions.

Governor:

An expert whose answer got voted for 20 times.

Joined: Jul 17, 2010
Answers
331
Questions
0
Helped
77281
Points
25


Since you are taking a class in binary programming; I would recommend you figure this out yourself. The major point in logic class is to determine ways to solve this on your own. If you are unable to do this; I would suggest a change of major.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1helpful
1answer

Model ESL 499. Why doesn't it start?

You have activated the delayed start function. Please read following instruction from user manual.

8. Delayed Start button

Allows the start of the programme to be delayed by a minimum of 1 hour, up to 9 hours. How to set the delayed start When the button is pressed, the number appears in the display (4). Press the button again to select the number of hours by which you wish to delay the programme start, up to a maximum of 9. E.g.: if you have selected number , the wash programme will start in 2 hours' time. To cancel the delayed start set, press the button until the number appears. Close the dishwasher door to start the countdown: a long audible signal (about one second) informs you that the function is active. If you open the door again you will see, in the display (4), how long there is to go (in hours) before the programme starts. A flashing dot in the digital display means that the delayed start function has been activated. Opening the door has no effect on a countdown which has already been started. If, during the countdown, you wish to see the programme number selected in the display, press the Programme Selector button (5). If, after having started the countdown by closing the dishwasher door, you wish to cancel the delayed start, press button (9) (Cancel) for about 2 seconds until the short «instruction accepted «signal is heard».

Dado
0helpful
1answer

I need to reset my combination to my mesa safe

This safe was shipped with a factory Master Code of 1-2-3-4-5-6-7-8.


If you changed the Master Code you will need to use the code you changed it to.


Deleting your current User Codes:
Input * - * lock will beep twice
input 6-6-6-# lock will beep twice
Input current Master Code - # lock will beep twice
Input user number - # lock will beep twice (not user code, user number is which user number you want to delete 1,2,3,4 or 5)
Re-input user number - # light stays green for 3 seconds

Example: * - * - 6 - 6 - 6 - # Master Code - # - 5 - # - 5 #
This will delete user 5
Unsuccessful code change: five beeps, repeat the steps.


Changing User Codes: Code length can be 3 to 8 digits long
Input * - * lock will beep twice
Input 4 - 4 - 4 - # lock will beep twice
Input Current User Code - # lock will beep twice
Input User Number - #
Input New User Code - # lock will beep twice
Re-input New User Code - # light stays green for 3 seconds

Example: * - * - 3 - 3 - 3 -# - User Code 2 - # - 2 - # -New User Code - # - New User Code - #

That example will change user code 2.
Unsuccessful Code Change: five beeps, repeat the steps.

There are other things you can do with the MSL-500 lock that comes on the MFL-2014E. You can change the master code, activate user codes, change user codes, delete user codes, set single user or dual user modes (dual user modes requires two user codes to be entered each time you want to open the safe, set the time delay.

The Mesa safe company has a website which does have the operating instructions for the MSL-500 electronic lock. A Google search of "Mesa MSL-500 Operating Instructions" would get you there quickly.
8helpful
3answers

How do I connect my PS3 to my sanyo dp50747 in hdmi? I have everything hooked up correctly, but its not coming up on the TV. What do I do?????

If you see a no signal message, then it means that the signal output format of the PS3 does not match . It happens if you have previous used it on another tv and now connected it to a different tv. To resolve this, turn off the PS3 . Press and hold the power button on the PS3 till you hear three BEEPS. The PS3 should automatically detect the tv's resolution and the initial setup screen should appear. After that you should just follow on-screen instructions to set it up.
1helpful
1answer

I need a GPRS settings for my Samsung SGH-i607, thanks

1. Go to Application
2. Go to Java world
3. Go to My games ( or the folder for new applications)
4. Go to where you have your Opera Mini
5. Click options and scroll to settings
6. Select your prefered config. setting
7. Edit and mark where you have "Proxy"
8. Underneath input the IP and Port
9. Go to Advanced settings to check wheather APN, User ID and Password are intact.
10. Save and Activate.
2helpful
1answer

What does 30-Page Databank on casio watch mean?

Hi it is for recording telephone numbers into the memory..and .. 30 page means 30 different data entry capable.. just in case ,if you need to download a soft version of the user manual pls visit the URL below..

Hope this helps! Take care and please Remember to rate/vote and give me
4 Thumbs Up for me to continue for Helping out the Community :)
Thanks

***************************
CASIO Watch User Manual Archives http://world.casio.com/wat/download/en/manual/
Use this page to download a copy of CASIO watch manuals in PDF format.
To download a PDF file, enter the four-digit (or three-digit) module number marked on the back cover of your watch.
0helpful
1answer

Why my mobile SIM card is not registered as it was rejected (9935626597)

Most GSM registered companies have SIM cards which have PIN numbers/codes.

Failure to input PIN number three consecutive times automatically take you to PUK 1 depending on your provider.

Failure to input the PUK codes three consecutive times automatically rejects your SIM card and will not be recognized in the system.
0helpful
1answer

I cant open my yahoo mail i cant sighn in my mail adress is [email protected]

check with your user id and password

check wheather the caps lock is on

cheack wheather num lock is off..

Check wheather some one else is your account..

Try to log in into yahoo messenger..

click on forgot password
Jan 11, 2009 • Yahoo Mail
0helpful
1answer

Write A Programm Using Delphi

I beleave you have the wrong type of site. this looks as tho you are looking for someone to script for you and as for as i know this site does not do that. this site is for Technical Support, Instructions & Repair Service.

Sorry,
Rel
Not finding what you are looking for?

72 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...