Search:

Type: Posts; User: brox

Search: Search took 0.29 seconds.

  1. Replies
    19
    Views
    185

    Re: java quessing game

    I dont know how to write it..
  2. Replies
    19
    Views
    185

    Re: java quessing game

    I know how to imagine it. But I dont have idea how to write it. I know..there is values top and first but I dont know how to use them in code ? How to compute middle value?
  3. Replies
    19
    Views
    185

    Re: java quessing game

    please can you write me code for range 1 - 20 ? because i can do it same as i wrote for range 1-100 but it will be just


    package project;

    import java.util.Scanner;

    public class Game {...
  4. Replies
    19
    Views
    185

    Re: java quessing game

    oh sorry I didnt know that you mean post
  5. Replies
    19
    Views
    185

    Re: java quessing game

    i still thinking about it... so .. if userīs answer is "lesser" the only thing i change is "last(50)" wil be "last(25)" right ?
    i working in Eclipse so i think i dont need that tags :)
    my code:
    ...
  6. Replies
    19
    Views
    185

    Re: java quessing game

    yes i have it.
    i will try to do it for right side of axis.

    --- Update ---

    oh god... its really hard for me... its so many lines... i have only this and i am lost in it..
    System.out.print("is...
  7. Replies
    19
    Views
    185

    Re: java quessing game

    i tried to imagine it like a axis
    |----|----|
    the middle "|" is 50.
    if userīs answer is "is not greater than 50" the axis will be
    |--|-----|
    after this, program will ask "its your number...
  8. Replies
    19
    Views
    185

    Re: java quessing game

    so.. i made 3 variables first,last and top
    i ask user System.out.print("is your number lesser than " +last+ "?");
    now userīs answer is no.
    so.. now i will replace last(50) with 25 ?
    edit:
    now i...
  9. Replies
    19
    Views
    185

    Re: java quessing game

    wow.
    It is still hard for me..
    i dont understand the principle of this.. please can you write me something.. more?
    thank you
  10. Replies
    19
    Views
    185

    java quessing game

    Hello,
    i have some troubles with my homework... i need to make quessing game...
    i think random number 1-100 and program will queesing this number and asking me for question and i will reply only...
Results 1 to 10 of 10