Question about Computers & Internet

1 Answer

May problem is "inputting four numbers and get the minimum number of them, and would be outputting the number in ascending order, BUT skipped the number end in zero and zero number..in javax swing"please help me.. thanks

Posted by on

  • Celenous May 11, 2010

    can you post a sample of the code you are working with? You can do alot with swing and would need more info before this can be answered

×

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Brigadier General:

    An expert that has over 10,000 points.

  • Master
  • 10,406 Answers

/* REXX is a better programming language than Java with Swing */
data = '11 10 0 3 12'

filtered = ''
do while (data > ' ')
parse var data value data
if left(reverse(value),1) = '0' | (value % 10 = value / 10) then iterate
if value = 0 then do; say 'Excluding:' value; iterate; end
filtered = filtered value
end
say 'After filtering, numbers are:' filtered
keep = filtered

parse var filtered smallest filtered
do while (filtered > ' ')
parse var filtered value filtered
if value < smallest then smallest = value
end
say 'Smallest value is:' smallest

n = words(keep)
do j = 1 to n
sorted.j = word(keep,j)
end

say 'Smallest to largest:'
do j = 1 to n
do k = (j+1) to n
if sorted.j <= sorted.k then iterate
t = sorted.j
sorted.j = sorted.k
sorted.k = j
end
say j sorted.j
end
say 'Done:'
exit

Access http://www.REXXLA.org to download REXX for your PC (Windows or Linux).

Posted on Nov 20, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

2 Answers

Are all computer batteries the same size?


The short answer is "No"

The long answer is:-

Physical size, input and output voltages, output capacity and the connection type to the PC varies from one PC to another.
If you are asking about batteries for your particular PC, then there are four things that need to match the PC's requirements, they are-:

Physical size, has to match the space provided for the battery.

Voltages, the output voltage from the battery to the PC must match the voltage required by the PC. (This can be found in the handbook, on the back of the PC, or the manufacturers website.

Battery Capacity, this is stated in one of two ways. either, in Wh,(watts per hour) or Amps, the higher this number, the longer it will run your PC.

Connections, this must marry-up with the connections on the PC.

For instance, the battery information label for my Inspiron 1720 reads as follows:-
Rating: 11.1v === Capacity 56Wh which means,
Voltage; 11.1 volts (=== DC), less than this and the PC will not run, more than this WILL damage the PC
Capacity; 56Wh means, if the PC uses 56 watts per hour, it will run the PC for one hour. If it uses 28Wh, (56/2=28), it will run the PC for two hours.
The higher the Capacity, i.e ??Wh the longer it will run the PC and will not harm your PC but, increased capacity batteries commands a price.

When it comes to the Power Supply Unit, (PSU), or "Charger"
Input: AC 100-240 volts ~ 1.5A 50/60Hz (~ refers to AC)
Output: DC 19.5 volts = 4.62A (= refers to DC)

Input from the wall socket of Alternating Current anywhere between 100 and 240 volts at 1.5A at 50 or 60 Hertz. In other words this PSU will work world wide with the right plug adaptor, (if needed), to convert the existing plug to the wall socket of the country you are in at the time.

I hope you find the above, informative and useful.
Kind regards,
Ron.

Jun 15, 2014 | Dell Inspiron One 2305 Desktop Computer...

1 Answer

I need a new power supply how do I find the part number and who do I order it from?


This should be a standard ATX power supply. You can pick one up at most computer retail locations, or online. I believe most of these units shipped with a 300 watt. These power supplies are the minimum wattage rating for the computer. Putting in a larger 500 watt will not harm anything.

Feb 11, 2011 | HP Pavilion a1610n PC Desktop

1 Answer

I have a dell desktop computer model number dhs serial number jn072221. The problem is I forgot my password to log into windows so I have this program that will allow you to bypass the login called kon...


If you put the KON CD into some other computer, and boot that computer from the CD, does it work?
If not, then your CD is "bad" -- either input/output errors, or incorrectly-formatted files on the disk.

Have you tried logging-in as 'Administrator',
or as some other "user" ?

Jun 12, 2010 | Computers & Internet

2 Answers

P.c. wont turn on


open case the CPU then remove the memory then make a clean all pin connectors of memory....

May 23, 2009 | E-Machines eMachines Desktop PC

1 Answer

I don't now hp game unlock code for fate


try this
6X9X-TB9M-LEN9

also
Code Effect

Fame: Adds 1000 fame points to your character

Experience: Adds 5000 experience points to your character

Ascend "#": Ascends a "#" of levels (input a number and remove quotes)

Fountain of Wellness: Creates a Fountain that when activated replenishes Both Health & Mana

Fountain Of Health: Creates a Fountain that when activated replenishes Health

Fountain of Mana: Creates a Fountain that when activated replenishes mana

Fountain Of Stamina: Creates a Fountain that when activated replenishes Stamina

Shrine Of Learning: Creates a Shrine that when activated generates a random negative or positive effect on character stats

Fate Statue: Creates a statute that when activated you get either a unique Monster or 2 Random Gems

Dumpmap: Creates a text description of the current map to a maze.txt file, which can be found in the game’s installation folder

Magic Anvil: Creates an Anvil that when activated grants you a random Negative or positive magical effect on an item

Descend "#": Descend a "#" of levels (input a number and remove quotes)

Gold: Gives you 500,000 pieces of gold

Levelup: Gives you one experience level

God: Gives you ten experience levels and eight to your pet

Heal: Restores all of your health

Weapon Rack: Shows up but can't be activated

Storage trunk: Shows up but can't be opened in town (This
might work in dungeons)

Small Chest: Shows up but there is nothing in it

Chest: Shows up but there is nothing in it

Large Chest: Shows up but there is nothing in it

[Creature Name]: Summons a creature near you. Any creature you summon this way will exist as an enemy monster; however, typing “Cat” or “Terrier” will summon a pet

[Item Name]: Summons an item near you

Apr 13, 2009 | Computers & Internet

1 Answer

The fate code


Here is the code: Enjoy

Fate

Cheatmode:
----------
Submitted by: Raziel_Soulreaver

Unverified. Press CRTL + SHIFT and the TILDE key (note this key is located differently
on PAL region keyboards). You should then have a prompt to enter the following codes.
Press ENTER to confirm the typed code.


Code Result
---------------------------
gold - will add large amount of gold to purse
god - will gain ten levels
fame - will add 1000 fame
descend - will descend one level
descend <#> - will descend # of levels
ascend - will ascend one level
ascend <#> - will ascend # of levels
Shrine of learning - summons shrine
Majic anvil - summons anvil
fate statue - summons statue
levelup - gain one level
heal - minor healing
experience - gain experience

<item name> summons specified item (any item);
example: town portal spell summons the "town portal spell";
superior sapphire summons "superior sapphire".

Cheats:
-------
Submitted by: DrakKnight

[Item Name] Summons an item near you. This cheat can summon artifacts, but not
flawless, superior, or exceptional versions of items

[Creature Name] Summons a creature near you. Any creature you summon this way will
exist as an enemy monster; however, typing "Cat" or "Terrier" will summon a pet
Levelup Gives you one experience level

Heal Restores all of your health
Gold Gives you 500,000 pieces of gold
God Gives you ten experience levels and eight to your pet
Fame Adds 1000 fame points to your character
Experience Adds 5000 experience points to your character
Dumpmap Creates a text description of the current map to a maze.txt file, which can be
found in the game's installation folder
Descend "#" Descend a "#" of levels (input a number and remove quotes)
Ascend "#" Ascends a "#" of levels (input a number and remove quotes)
Small Chest Shows up but there is nothing in it
Shrine Of Learning Creates a Shrine that when activated generates a random negative or
positive effect on character stats
Magic Anvil Creates an Anvil that when activated grants you a random Negative or positive
magical effect on an item
Fountain of Wellness Creates a Fountain that when activated replenishes Both Health & Mana
Fountain Of Stamina Creates a Fountain that when activated replenishes Stamina
Fountain Of Health Creates a Fountain that when activated replenishes Health
Fate Statue Creates a statute that when activated you get either a unique Monster or 2
Random Gems
Fountain of Mana Creates a Fountain that when activated replenishes mana
Chest Shows up but there is nothing in it
Large Chest Shows up but there is nothing in it
Storage trunk Shows up but can't be opened in town (This might work in dungeons)
Weapon Rack Shows up but can't be activated



Final Password:
---------------
Valkyr

Jan 25, 2009 | Computers & Internet

1 Answer

I want a diagram of 4X16 multiplexer circuit ..................


it's not a multiplexer, that's called an encoder.

Multiplexers are sort-of like switches. They "choose" one of the X inputs based on an input "selector" and output it
http://en.wikipedia.org/wiki/Multiplexer

but what you're looking for is something that decodes a 4 bit binary input into a 16 bit output where for each possible input, one unique outputs out of the 16 are high. That's a four-to-sixteen line decoder.

They're kind of useless. Three-to-eight decoders are much more common.

Here's an article on how decoders work, and it shows an example of a three-to-eight line decoder. You can easily take that and extend it to be a four-to-sixteen line decoder once you understand the process.

http://cpuville.4t.com/decoder.htm

Dec 04, 2008 | Computers & Internet

1 Answer

Pixma530 printer where inside is thhe serial number?


Go to http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&tabact=SupportDetailTabAct&fcategoryid=238&modelid=13371
and type in serial number. The first result shows you exact instructions for finding the number. This assumes that your model is a Pixma MP530 - the only 530 in the Pixma line that I could find. The content of that page appears below (illustrations will likely not appear properly):
Locate the Serial Number The serial number of the PIXMA MP530 is located inside the printer, as shown below.
  1. Lift the Scanning Unit (Printer Cover) until it locks into place.

    openscanunit.gif

  2. When the printer is powered on and the Scanning Unit is lifted, the Paper Output Tray will open automatically. If the Paper Output Tray does not open after several seconds, press the Open button to open the tray manually.

    mp800_openbutton.gif

  3. Open the Inner Cover.
    The serial number is attached to the back wall inside the printer.
    It starts with four letters (AAGA) and ends with five numbers. Example: AAGA01234

    serialnumloc.gif

Please post back if you need additional assistance, otherwise thank you for using and rating FixYa!

Jun 02, 2008 | Computers & Internet

1 Answer

MY COMPUTER JUST STOPEED AND I NEED 2 KNOW THE SPECIFACAITIONS ON THE POWER SUPPLY


If you are using latest system you need

Ac input : 220vac 3a 50hz

450watt minimum
Atx 2.03
Atx 12v

Dc output
+5v 28a -5v 0.6a
+12v 15a -12v 0.6a
+3.3v 16a +5vsb 2a

Apr 16, 2008 | Computers & Internet

1 Answer

Need a game code for fate but not in a place were i can use internet


Try these from www.gamefaqs.com:

Code Effect Fame Adds 1000 fame points to your character Experience Adds 5000 experience points to your character Ascend "#" Ascends a "#" of levels (input a number and remove quotes) Fountain of Wellness Creates a Fountain that when activated replenishes Both Health & Mana Fountain Of Health Creates a Fountain that when activated replenishes Health Fountain of Mana Creates a Fountain that when activated replenishes mana Fountain Of Stamina Creates a Fountain that when activated replenishes Stamina Shrine Of Learning Creates a Shrine that when activated generates a random negative or positive effect on character stats Fate Statue Creates a statute that when activated you get either a unique Monster or 2 Random Gems Dumpmap Creates a text description of the current map to a maze.txt file, which can be found in the game’s installation folder Magic Anvil Creates an Anvil that when activated grants you a random Negative or positive magical effect on an item Descend "#" Descend a "#" of levels (input a number and remove quotes) Gold Gives you 500,000 pieces of gold Levelup Gives you one experience level God Gives you ten experience levels and eight to your pet Noblood Make the blood go back to stars Heal Restores all of your health Weapon Rack Shows up but can't be activated Storage trunk Shows up but can't be opened in town (This might work in dungeons) Large Chest Shows up but there is nothing in it Chest Shows up but there is nothing in it Small Chest Shows up but there is nothing in it [Creature Name] Summons a creature near you. Any creature you summon this way will exist as an enemy monster; however, typing “Cat” or “Terrier” will summon a pet [Item Name] Summons an item near you. Blood Use blood instead of stars

Mar 11, 2008 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

134 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98816 Answers

David Payne
David Payne

Level 3 Expert

14071 Answers

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

Answer questions

Manuals & User Guides

Loading...