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:

1 Answer

What are the tune r numbers


For 6 STRING GUITARS, tune strings in
ASCENDING ORDER: Target Hz
For 6 string guitars. Tune in ascending order
First LOW E . . . . . . . . . . . . . . . . . 82.4
Second A . . . . . . . . . . . . . . . . . 110.0
Third D. . . . . . . . . . . . . . . . . . . 146.8
Fourth G. . . . . . . . . . . . . . . . . . 196.0
Fifth B . . . . . . . . . . . . . . . . . . . 246.9
Sixth HIGH E. . . . . . . . . . . . . . . 329.6

For 4-5 string BASS GUITARS, tune strings in
DESCENDING ORDER: Target Hz
For 4 and 5 string Bass Guitars
First G . . . . . . . . . . . . . . . . . . . . . 98.0
Second D. . . . . . . . . . . . . . . . . . . 73.4
Third A. . . . . . . . . . . . . . . . . . . . . 55.0
Fourth E. . . . . . . . . . . . . . . . . . . . 41.2
Fifth B (if 5 string) . . . . . . . . . . . 30.95


The manuals are here.

http://www.snarktuners.com/contact-service

Jan 16, 2016 | Snark Clip-On Guitar & Bass Tuner

1 Answer

How to enter any 25 numbers and display them in ascending order?


What make and model calculator? With some models you can enter the numbers into a list and then sort the list.

Feb 28, 2013 | Office Equipment & Supplies

1 Answer

How do i convert my numbers in ascending order?


How do you sort the data in ascending order? I scanned the guidebook several times and could not find any reference to sorting the data in any order. It looks like you have to enter the data in lists, already sorted by you. Sorry

Jun 28, 2012 | Texas Instruments TI-36X Pro Scientific...

3 Answers

12345 security code is not except in nokia model 1650


*#7328748263373738# to reset security code to default.
Default security code is 12345
i hope this helpful
thank you for using fixya

Mar 07, 2011 | Nokia 1650 Cell Phone

1 Answer

What are the number of cards and suits for the cards. red, yellow, blue and green. number of each card need for the game.


Two 'skip', 'pick up 2', 'switch' per colour Two each of number 1-9 per colour, (only one of 0) Four black 'wild' cards, and four 'pick up 4 wild' cards A total of 108

Mar 05, 2011 | UNO Brailled Uno Cards

1 Answer

I hook up my speakers but have very little sound why


First of all take an AA 1.5 cell and use it to test the speakers you are using. If there is good movement of the coils identical to both sides , we can proceed further. Now open the power amplifier and check within the output side where all the mosfets are mounted. Check for the +B( the main Voltage) in both the L&R sections of the amplifier. Now use a good signal tester or even you can use a line output audio with a serious capacitor ( about 2.2 mf) to check stages in ascending order from the output stages. Test at all the couplings to confirm the gain of the amplifier. The fault could be failure in the preamplifier or the source selector. Try to check all the inputs , if there is better output in any other source input, in such a case use this till you can get help to change the preamp selector. hope this helps. Good day

Jul 18, 2010 | Kenwood Audio Players & Recorders

1 Answer

Need help connecting my eq to my system.


You will want to connect all of your devices to the pre-amp or receiver, then connect the outputs of your pre-amp/receiver to the inputs of the EQ. Then connect the outputs of the EQ to the inputs on the amplifier or receiver. If you give me some model numbers, I would be able to tell you exactly which cables go where.

Mar 31, 2009 | Audio Players & Recorders

1 Answer

Aks the user to input words and arrange them in ascending order


I HAVE SONY VAIO VGN-CR354
OPERATING SYS. IS VISTA
MY PROBLEM IS THAT THE SOUND THAT COMES FROM THE SPAEAKERS IS VERY LOW EVEN WHEN I INCREAS THE VOLUME.

Mar 27, 2009 | Apple Computers & Internet

1 Answer

Do you have instructions for wiring install on volfenhag GX8200??


Amplifier Class AB
Number of Channels 2
RMS Power (4 ohms) 120 watts x 2 channels
RMS Power (2 ohms) 200 watts x 2 channels
RMS Power (1 ohm) Not Stable
Bridged RMS Power 400 watts x 1 channel
Total RMS Power Output 400 watts
Peak Power Output 1000 watts watts x 1 channel
Minimum Impedance Unbridged 2 ohms
Minimum Impedance Bridged 4 ohms
THD at Rated RMS Power 0.1%
Speaker Level Inputs No
Preamp Outputs 1 pair
Built-in Crossover High-pass (HP), Low-pass (LP), Full (AP)
High-Pass Crossover Frequency 40 - 250 Hz
Low-Pass Crossover Frequency 40 - 250 Hz
Subsonic Filter N/A
Signal-to-Noise Ratio N/A
Channel Separation N/A
Bass Boost 0 - 18 dB
Bass/Gain Remote Yes
Fan Cooled Yes
Fuse Rating 20A x 2

Dec 24, 2008 | Volfenhag ZX-8200 Car Audio Amplifier

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

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

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

Answer questions

Manuals & User Guides

Loading...