User Profile

Collapse

Profile Sidebar

Collapse
powerej
powerej
Last Activity: Mar 26 '08, 08:56 PM
Joined: Sep 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • powerej
    replied to Sorting character array help
    in Java
    i figured it out thanx for the help guys
    See more | Go to post

    Leave a comment:


  • powerej
    started a topic Sorting character array help
    in Java

    Sorting character array help

    im having trouble printing an array with duplicate characters, i can enter and print with single characters but when i try and enter and print duplicate ones it puts blanks in my output for a sorted array.

    Code:
    // Imported Packages/Classes
    import javax.swing.*;
    
    public class Program6 {
    
    // Add your class methods up here to make the main given to you work correctly!
    ...
    See more | Go to post

  • powerej
    started a topic do while error checking help
    in Java

    do while error checking help

    program is suppose to ask for an input from 1-8, if the user enters a number outside of this range than it will continue to ask until it does, something is wrong and i cant seem to figure it out, i am stuck. Also my if else to see if the user catches the wave seems right to me but only works like half the time. I just really want to know what i am doing wrong here.

    Code:
       import javax.swing.*; // gets option pane
       import
    ...
    See more | Go to post

  • Counting vowels, lines , and words need some major help thanx

    I have gotten the part of counting how many words are in the string, but the vowels just seem alien to me. Ive tried so many things but never close to a correct answer. I know I need to use charAt() and length() some nested loops with do while and for, but cant seem to get headed in the right direction. Also when i click the cancel button my program is suppose to end and tell you how many lines were entered, a count of vowels from all lines ex)...
    See more | Go to post
    Last edited by Ganon11; Oct 5 '07, 02:21 AM. Reason: You forgot the [/CODE] :D

  • powerej
    replied to Simple stats with input numbers program
    in Java
    my true problem is i know i can initialize my max and min values to like a million and i will get the correct min value but my teacher said this i weak programming and i cant think of a way to initialize these values with an arbitrary number
    See more | Go to post

    Leave a comment:


  • powerej
    started a topic Simple stats with input numbers program
    in Java

    Simple stats with input numbers program

    writing a program that asks how many numbers the users want to enter, then input an integer for the amount of numbers said, output: number of integers entered, sum of them, average of them, maximum value entered and min value entered. the min is where i am having a problem i can get everything else to print out but i am doing something wrong in my while loop can someone please help me.

    [CODE=java] import javax.swing.*; // gets option...
    See more | Go to post
    Last edited by Ganon11; Sep 29 '07, 07:58 PM. Reason: Please use the [CODE] tags provided.
No activity results to display
Show More
Working...