Computers & Internet Logo

Related Topics:

Posted on Jan 29, 2009
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

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

  • Anonymous 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

Anonymous

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
  • Posted on Nov 20, 2009
Anonymous
Master
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.

Joined: Apr 23, 2009
Answers
10406
Questions
1
Helped
2555799
Points
31058

/* 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).

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

0helpful
1answer

What is medium of 2,4,6,6,7,8,10,11,13

https://www.easycalculation.com/statistics/mean-median-mode.php

The mean (average) is the sum divided by the number of items regardless of individual values. Here is is 7.4444, rounded off.

The median is the middle number in the group, listing in ascending order. You have 9 items. The fifth one as four above it and four below it. It is a 7. (A selected group of numbers is referred to as a data set. If taken from a larger group, the selection is referred to as a subset.)

The mode is the most frequently listed number. Only the 6 repeats itself in this example. That makes it the most frequently repeated number.

Understanding How to Calculate the Mean Median and Mode
3helpful
1answer

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
5helpful
3answers

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
0helpful
1answer

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
0helpful
1answer

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.
0helpful
1answer

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.
0helpful
1answer

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
Not finding what you are looking for?

164 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...