THIS IS BRILLIANT.. thank you soooooooooooo much... now its working.. i am planning to add couple other things i learn in this program and keep updating this game i guess.. and yes i dont have the...
Type: Posts; User: smartshahezad
THIS IS BRILLIANT.. thank you soooooooooooo much... now its working.. i am planning to add couple other things i learn in this program and keep updating this game i guess.. and yes i dont have the...
sorry but can you give me an example please?? thank
can you please tell me what's wrong with this ???
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Hello! Welcome to Dice Hi-Lo");
i know i have to write a while loop.. but i dont know how to write it in my scenario.. i can write a basic while loop that prints maybe 10 numbers.. but i dont know how to implement it in my case.....
this is what i want this program to do.. but repetitively.. i have managed to do it without it being repeated :P
package com.peg.trn;
import java.util.Scanner;
public class HiLo {
if i add more outputs in the winAmount() method, will it return more than one values ???
So i managed to figure out the methods in my class.. Now, i want to write the main method.. And i have no clue how and what to write there..
Below is my code :
package com.peg.hilodice;...
Hello guys..
I want to write a small Hi Lo Betting Dice program that satisfies these conditions :
A player places a bet on whether the sum of two dice will come up High (totalling 8 or...