Search:

Type: Posts; User: shifat96

Search: Search took 0.10 seconds.

  1. Replies
    1
    Views
    1,400

    How to align text? Printf?

    Ok,

    I have a CS assignment due tomorrow and I am missing one of the requirements for the project.
    I have to write a program that asks a student for a list of information and then generates a...
  2. Replies
    4
    Views
    5,968

    Re: How to align text?

    Thank You!
  3. Replies
    4
    Views
    5,968

    How to align text?

    How should I align text to the right?

    Here is a part from my code:



    System.out.println (subj1 + "\t" + gradesubj1 + "%"); // Subject and Mark for Subject 1


    I want to align the...
  4. Re: Making a program that calculates how many days you lived.

    Here are the errors I got:

    variable aliveday may have not been initialized
    variable sleep may have not been initialized
    valu cannot be used ( on sleep = aliveday*8; )
  5. Making a program that calculates how many days you lived.

    This is another code(below) from my CS Assignment. Here, I have to build a program that calculates how many days have you lived and how many hours you slept. I have seem to got the question but I...
  6. Replies
    3
    Views
    1,293

    Re: Finding the average of two double digits.

    thanks!
    +rep
  7. Replies
    3
    Views
    1,293

    Finding the average of two double digits.

    Hello,
    I have to do an assignment for school. I have to write a code for a program that calculates the average of to double numbers. I wrote this is NetBeans and it gives me the following errors:
    ...
Results 1 to 7 of 7