new2vb1's Profile User Rating: -----

Reputation: -2 Dishonored
Group:
Active Members
Active Posts:
62 (0.07 per day)
Joined:
22-January 11
Profile Views:
550
Last Active:
User is offline Dec 11 2011 03:18 PM
Currently:
Offline

Previous Fields

Country:
CA
OS Preference:
Windows
Favorite Browser:
Internet Explorer
Favorite Processor:
Intel
Favorite Gaming Platform:
Playstation
Your Car:
Mercedes
Dream Kudos:
0
Icon   new2vb1 has not set their status

Posts I've Made

  1. In Topic: help with comparable object

    Posted 9 Dec 2011

    i believe u mean something like this.
    
    	public int countOccurrences(Comparable c){
    		
    		//for loop through items
    		
    		for(int i = 0;i<items.length;i++)
    			
    				
    				if(((Comparable) items[i]).compareTo(c)==0){
    				
    				
    				}
    				
    					count ++;
    					
    		
    		
    			return count;
    		
    	}
    
    
    
    



    u would do the same thing with the delete but reduce the count and make the for loop greater than items?
  2. In Topic: adding a value to the end of an array

    Posted 18 Nov 2011

    got it. thanks.

    topic is closed.
  3. In Topic: Math.pow function for carpayment

    Posted 17 Nov 2011

    so something like this?
       
    
    
     payment = loanamount * monthlyrate * Convert.ToDouble((Math.Pow((1+monthlyrate),months)) /
               (Math.Pow ((1+monthlyrate),months)-1));
    
    
    


    Im still getting the same error.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Comments

new2vb1 has no profile comments yet. Why not say hello?