Having problems with your PC Desktops ?

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


Answers :

/* REXX is a better programming language than Java with Swing */
\015\012data = '11 10 0 3 12'
\015\012
\015\012filtered = ''
\015\012do while (data > ' ')
\015\012 parse var data value data
\015\012 if left(reverse(value),1) = '0' | (value % 10 = value / 10) then iterate
\015\012 if value = 0 then do; say 'Excluding:' value; iterate; end
\015\012 filtered = filtered value
\015\012end
\015\012say 'After filtering, numbers are:' filtered
\015\012keep = filtered
\015\012
\015\012parse var filtered smallest filtered
\015\012do while (filtered > ' ')
\015\012 parse var filtered value filtered
\015\012 if value < smallest then smallest = value
\015\012end
\015\012say 'Smallest value is:' smallest
\015\012
\015\012n = words(keep)
\015\012do j = 1 to n
\015\012 sorted.j = word(keep,j)
\015\012end
\015\012
\015\012say 'Smallest to largest:'
\015\012do j = 1 to n
\015\012 do k = (j+1) to n
\015\012 if sorted.j <= sorted.k then iterate
\015\012 t = sorted.j
\015\012 sorted.j = sorted.k
\015\012 sorted.k = j
\015\012 end
\015\012say j sorted.j
\015\012end
\015\012say 'Done:'
\015\012exit
\015\012
\015\012Access http://www.REXXLA.org to download REXX for your PC (Windows or Linux).
Repair Help & Product Troubleshooting for PC Desktops

Tips for a great answer:

- Provide details, support with references or personal experience .
- If you need clarification, ask it in the comment box .
- It's 100% free, no registration required.

Suggested Questions/Answers :

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


/* REXX is a better programming language than Java with Swing */\015\012data = '11 10 0 3 12'\015\012\015\012filtered = ''\015\012do while (data > ' ')\015\012 parse var data value data\015\012 if left(reve ... PC Desktops

Bad experience with HP customer support, please read ?


Quite an ordeal you went through, to say the least.About all you can do at this point is try to make lemonade out of the lemons, let me explain...If you have a good sized group of users that purchased HPs from you (or on your ... HP Pavilion Media Center a1330n - AMD Athlon 64 2.4GHz Desktop Computer (Open Box Product, Limited Avai... (EL466AAABAOB)

Have just downloaded Cineolayer DVD Decoder Pack 2.3.1. - ESD but when registering won't unlock or recognise Unlock Code to enable me to use it. - Frustrated


Activating Cineplayer\015\012\015\012\015\012\015\012\015\012Rate this article: \015\012\015\012\011\011OrangefoodJSLib ... PC Desktops

Computer has frozen on windows logo


1) Which version of Windows ? For the following discussion I am assuming it is 2000, XP or higher. You may also want to print this, it's long.2) Is this this the low resolution Windows logo on the black scre ... Fujitsu Siemens SCALEO 600 (FSP:83C005617) PC Desktop

Trubleshoot Motherboard what is mother board prob and how can find n fix them....


More than 70% of all computer problems are related to cabling and connections. Ensure all cables are connected and connected firmly. IDE and floppy ribbon cables and power cables can often go loose. Ensure microprocessor, memory modules, and adapters ... PC Desktops

Need Help Using the Presario V2000 Expansion 2 Port


If you have a little plastic cover where the Expansion Port 2 should be, then your specific model doesnt have the port. i know what you mean, when I got my first V2000 i thought the same thing, that there is a port hiding there. my second V2000 had t ... HP Compaq Presario V2000 Notebook

Vista wont let me log in


How to Fix the Error "The User Profile Service failed the logon. User profile cannot be loaded."\015\012Information. When you log on to Vista using a temporary profile (user account), you receive this error message:\015\012For more information, KB947 ... PC Desktops

I need a diagram for wiring a new power supply to a Gateway 509ge.


Although this problem is a year old, no solution was stated.Stating this in the hope it may help someone in the future;This is Gateway Support, and the main support page for the Gateway 509GE Desktop PC, ... Gateway 509GE PC Desktop

Well my ACER AL1916B LCD monitor blew up.


The MOSFET that blew up will more likely to have the switch mode driver IC that went out with it also, you need to verify that the IC is good otherwise you will blow up the new MOSFET, you may be better off buying a new board from here: ... Acer AL1916B 19" LCD Monitor

Repositioning the screen makes the computer cut out. it seems to only work when the screen is tilted far back.


I agree with thgrtalex. I also think the Display Cable connector may have come loose.I will go further, and state that I think the flat 'ribbon' cable, (Display Cable), may have come loose in it's ZIF socket.The Di ... Compaq Presario 1700 Notebook

Cant install OS BOOTMGR is missing


Usually the installer should have a function to allow you to wipe the disk, or delete partitions.If it doesn't, and you do not care about the hard disk content, and it is acceptable to wipe out the entire hard disk, you can do so in Linux ... Toshiba Satellite A215-S4807 Notebook

We just purchased a new Belkin Router and we can't get on line using it. Can you help us?


Try this also \015\012 \015\0121 Make sure your modem is connected to the WAN port on your router\015\012 \015\0122 unp ... Belkin PC Desktops

Wal-mart's computer care is a scam.


I work for the Wal-Mart PC Care program.\015\012\015\012The PC Care program is free, it provides assistance in installing a year worth of virus protection. Anything beyond that is on a pay for fee service. It does not replace the original Dell warr ... Dell Inspiron 1525 Notebook

Hi guys,I have a linksys router hooked up and my desktop connection is fine. My laptop however, tells me my connectivity is limited, despite an excellent signal


Go to your desktop and login to the router, the manual should have the default ip and username/password, or google that info, once your in check the number of dhcp leases and make sure it is set to about 2 more than the number of PC's you have, I hav ... PC Desktops

How I open my widows by protected password - PC Desktops


You will have to remove the hard drive and back up all the files you wish to save. You can do this with a 7 dollar USB hard drive adapter cable from E-Bay. Save your files on another computer. You then have to be able to boot the compute ... PC Desktops

PC will not boot from CD drive


Disable the harddrive in the bios and set the cd to 1 boot.Check sometimes there are 2 cd drive .Cd-rom and the number or model of the dvd drive... ... Dell Dimension 4600 PC Desktop

DV6000 GT375EA#ABU Only powers on from its battery


I have had the same issues with my HP dv6208 laptop. I ended up sending my laptop in at their expense to get it fixed. My suggestion to you is to go to the HP support website and chat or call them. The dv6000 series laptops had several issues with th ... PC Laptops

Sony Vaio VGN SZ-110 does not work with battery


If you replaced the battery with the same model and gave you the same problem, then it could be a different issue on the computer. You might end up doing a recovery to make sure if it is a software or hardware problem.\012\012 ... Sony VAIO VGN-SZ110/B Notebook

Power button mulfunction?


Ok, to get at the switch board, take a flat bladed screwdriver and /carefully/ lever the outside ends of the hinge covers vertically upwards. Once the covers are free (you'll find that they are attached to the blue strip), slide the blue strip and hi ... Dell Inspiron 5100 Notebook

Hello I have this laptop acer aspire 7720z and I do new instal of win wista and now sometie go freeze. ANd i can't do nothing please help .


Vista Boot-up Repair\015\012 \015\012Vista is very good about repairing itself. Boot from the cd and when prompted choose your windows installation, most likely it will be the only one. Once that is chosen, ... Acer Aspire 7720 Notebook

My Samsung HM160HI Hard Drive is Reporting a Smart Event and says it may critically fail, how do i fix this? Some Information That Might Help That Im Copying From My computer: - Status: SMART Event Device Port: 0 Device Port Location: Internal Current Serial ATA Transfer Mode: Generation 1 Model: Samsung HM160HI Serial Number: S18PJDNQ217737 Firmware: HH100-10 Native Command Queuing Support: No Size: 149 GB


Here's my solution to the quiz "How do you bring a hard drive back to life?"In order to make the best use of a drive that may be failing, one could takethe following steps:1. Check the system to see if the drive will detect and boot ... PC Laptops

Dell 8200 inspirion rerror


Try this repair...\015\012\015\012Windows Start-up Errors\015\012Step one, you need a Windows XP CD. If you only have a recovery disk set like the ones from HP or Compaq they will not do what you need done. Under ... Dell PC Laptops

My m60 just crashed. Memory Full message popped up - then screen went black. It will not boot back up. Help. Thanks


Try this fix.....good for windows crashes...\015\012\015\012Windows Start-up Errors\015\012Step one, you need a Windows XP CD. If you only have a recovery disk set like the ones from HP or Compaq they will not do ... Dell Precision M60 Notebook

Compaq nc6000 powers/boots up and then off.


Lets start with this....This may or not work depending on if the screen comes up. You may have to try and connect the laptop to an external monitor for the repair, Understand that most of these types of problems are usually indicative of a bad mother ... HP Compaq nc6000 Notebook

Windows Failed to start File :BootBCD Status:0x0000098 Info:The windows Boot configuration Data file does not contain a valid OS entry . this is the first time i am having problem with my laptop from last 11/2 years ,i dont know why suddenly this appears !! please need some help


Windows Start-up Errors\015\012Step one, you need a Windows XP CD. If you only have a recovery disk set like the ones from HP or Compaq they will not do what you need done. Under normal circumstances however, you can use a De ... Acer Aspire 5520-5579 Notebook
  • Start your question with What, Why, How, When, etc. and end with a "?"
  • Be clear and specific
  • Use proper spelling and grammar
all rights reserved to the respective owners || www.electronic-servicing.com || Terms of Use || Contact || Privacy Policy
Load time: 1.3174 seconds