hello everyone,i'm really new at java...but they said that an I.T student like me should learn and apply Java very well.I always try my best( as every1 do) to learn and apply Java codes or whatever...but this time,i'm very confused.this is related to incrementing and decrementing values.
our Instructor ordered us to make 2 separate programs.
first 1 has this process:(INPUT VALUE MAY VARY DEPENDING ON THE USER)
ex:
INPUT NUMBER:5
OUTPUT:
*
* *
* * *
* * * *
* * * * *
(actually, the asterisks should form like a pyramid NOT a right triangle)
2nd prog:(about !(factorial)(INPUT VALUE MAY VARY DEPENDING ON THE USER)
INPUT:5
OUTPUT:125
i wonder what is the right code for these 2 machine problem..
i'm very sorry because i'm new at these...hope 4 ur help..tnx :D