saSBH2's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Members
Active Posts:
18 (0.02 per day)
Joined:
02-March 10
Profile Views:
3,131
Last Active:
User is offline May 18 2013 03:47 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Linux
Favorite Browser:
Chrome
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   saSBH2 has not set their status

Posts I've Made

  1. In Topic: Problem with footer width

    Posted 29 Jun 2012

    View PostDormilich, on 29 June 2012 - 02:06 AM, said:

    1. works for me as intended


    I tested in on various computers and with different browsers. It hasn't worked as I wanted.

    View PostDormilich, on 29 June 2012 - 02:06 AM, said:

    0. Don’t use tables for Layout!


    Thanks.
    I changed it and use <div> instead of <table>
    Everything is correct now.

    Thank you again!
  2. In Topic: problem with not having return statement

    Posted 13 Jul 2011

    View PostRikka, on 12 July 2011 - 10:45 PM, said:

    class Judge{
    
    
        double judScores (double [] fiveScores){
    
            Scanner input = new Scanner (System.in);
    
            int conloop;
    
            for (conloop=0; conloop<fiveScores.length; conloop++){
    
                    System.out.print("\t --> Enter Score for Contestant #" + conloop+1 + ":");
                    fiveScores[conloop] = input.nextDouble();
    
             return fiveScores;
            }
        }
    


    This code have an error of not having return statement but it has :( :whatsthat:


    Hi, as Kamran said you must have:
    double[] judScores (double [] fiveScores)
    


    And then "return fiveScores" should be out of for loop.
  3. In Topic: error in if/else statment?!

    Posted 12 Jul 2011

    Quote

    Ya, this seems to be the problem (except it has to be the other way around :P )
    instead of:
    if (sum =< 60) {
    


    you must write:
    if (sum <= 60) {
    


    Fixing this should fix your problem


    Yeah, I correct it :bigsmile:


    And also line 15 must be changed.
  4. In Topic: error in if/else statment?!

    Posted 12 Jul 2011

    hi
    I'm not sure but I think instead of
     if (sum =< 60)
    


    you must write
    if (sum<=60)
    

My Information

Member Title:
New D.I.C Head
Age:
21 years old
Birthday:
September 12, 1991
Gender:
Programming Languages:
Java

Contact Information

E-mail:
Click here to e-mail me

Comments

Page 1 of 1
  1. Photo

    hamishehiran Icon

    20 Jun 2010 - 11:14
    pekh;)
Page 1 of 1