CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Strobe

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    thanks everyone
  2. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    This is what i got so far can someone tell me what i'm doing wrong?I'm getting two errors in the main incompatible type at infile and right under that can't find variable.




    import java.util.*...
  3. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    I really need help with this assignment any help would be appreciated. This assignment is gonna play a part in my final today so i would like to understand what i'm doing wrong. I would like a better...
  4. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    big java
  5. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    this is programming one. Can anyone lead me in the right direction i am lost don't know how to make it so that my CdList class prints out an annual report for each Certificate of deposit.
  6. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    so this is what i should have:


    // end of cd class

    class CdList
    {
    // instance variable
    private ArrayList<Cd>list ;
  7. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    I figured out why it wasn't compiling this is what i did:




    import java.util.* ; // for ArrayList and Scanner
    import java.io.* ; // for File and FileNotFoundException

    class Cd
    {
  8. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    i fixed the cd constructor by placing the identifier before each paramater. But it is giving me an error that says unexpected type double found on the arraylist part. What am i doing wrong?
  9. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    ok so in the constructor i would do this?



    public Cd(principal,intRate,maturity,compVal,years)
    {
    this.principal = principal ;
    this.intRate = intRate ;
    ...
  10. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    only thing he told us about the cd class was:

    II. The CD Class

    Begin by creating a class to model a CD. Each CD object "knows" its own principal, interest rate, maturity, and compounding mode...
  11. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    I'm having a problems figuring out what to do next this is what the assignment calls for:

    Output will be a series of 10 annual reports:

    1. Each report must be clearly labeled and will include...
  12. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    thanks i'll try that
  13. Replies
    32
    Views
    8,436

    Re: Help with Java assignment

    This is what i got for my Cd class so far . Am i headed in the right direction?



    class Cd
    {
    // instance variable
    private int principal ;
    private double intRate ;
    ...
  14. Replies
    32
    Views
    8,436

    Help with Java assignment

    Programming Assignment #8

    (ArrayLists)


    I. The Problem

    A banking institution offers certificates of deposit (CD's) with a variety of interest rates, and maturities of 1, 3, 5, and 10...
  15. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    Hello everyone i'm back again. I found another problem with my code and i need help. See my program does everything that you ask of it except that if you enter 3 digits and none match at the...
  16. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    I Finally finished the program. I would like to thank all of you for your help.
  17. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    I'm having a problem with my code and would really appreciate any assistance that is given. Here is an example of the problem i'm having :
    Let say my secNum = 107
    user enters= 701(it prints out...
  18. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    thank you for your help i'm gonna take what you told me and try to fix my code.Again than you very much
  19. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    public void playGame()
    {
    Scanner input = new Scanner(System.in);
    System.out.print("Want to play? " + "Type Y for Yes or N for No and press [Enter]: ") ;
    String answer =...
  20. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    I got the code tags right.
  21. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    i apologize for not having followed your directions but i guess i'm kinda slow . The game just keeps on looping instead of printing out my would you like to play again message when you win or get...
  22. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    thank you so much for the help pete. And to everyone else Sorry about the code tags not trying to get on anyone's bad side i'll read that explanation on how to do it again do you put these on java...
  23. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    Why is this method giving me a message unexpected type?It's pointing at my while statement.


    public void playGame()
    {
    Scanner input = new Scanner(System.in);
    System.out.print("Want...
  24. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    How do i go about making the program so that when a user is aked if he would like to play again Yes or No, If the user types Yes the game continues if NO the game ends?
  25. Replies
    43
    Views
    24,531

    Re: Bagels(fermi,pico,bagels) code help

    i'm stuck, these are the things i have accomplished:

    generate random number (no digits repeat)

    get user's guess(no digits repeat or tryagain message)

    evaluate guess( i get wether...
Results 1 to 25 of 34
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured