Search:

Type: Posts; User: wickedsunday

Search: Search took 0.31 seconds.

  1. Replies
    1
    Views
    241

    Having problem with factorial

    Hi guys, I don't understand what i'm doing wrong here. I'm supposed to print factorial of the inserted integer.

    1. first to ask the number (for example 3)
    2. count its factorial and print it on...
  2. Replies
    4
    Views
    344

    Re: Need help with Java assignment

    Yeah that was it, now it works perfectly. Thanks alot :D
  3. Replies
    4
    Views
    344

    Re: Need help with Java assignment

    Thanks for the quick reply,

    Here's what I have come up with:

    import java.io.*;

    public class Lasku {
    public static void main(String[] args){
    int eka;
    int toka;
  4. Replies
    4
    Views
    344

    Need help with Java assignment

    Hi guys,

    I'm having trouble with this simple java exercise. You are supposed to make java print following lines:

    Insert first number:66
    Insert second number: 3
    66+3 = 69 ...
Results 1 to 4 of 4