- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
15 Posted Topics
I assume you want to display 0+0 to 99+99. But it only displays the sum of i and 99 because the variable total keeps on changing value 100 times and its final value is its last value which is the sum i and 99. You can run this code either. …
In your for-statement, you [CODE]System.out.println();[/CODE] was made to [CODE]system.out.println();[/CODE]. Observe capitalization because Java is case-sensitive.
[CODE] package semBreak; import java.io.*; public class YLingaw { public static void main (String [] args) throws IOException { BufferedReader jill = new BufferedReader (new InputStreamReader (System.in)); char[][] board = { {' ','1','2','3',' '}, {'1',' ',' ',' ','1'}, {'2',' ',' ',' ','2'}, {'3',' ',' ',' ','3'}, {' ','1','2','3',' '}}; YLingaw.ehem(board); …
What do you mean by different system? Make clear of your statement.
I can answer. But I don't know how to explain.
Yeah, you should specify what you are trying to ask Ms. Christy Adarna.
You better create a simple game so your professor will be impressed on you. You create the Tic-Tac-Toe
[QUOTE]System.out.print("Please enter the age of person number ");[/QUOTE] In line 16 you are asking the user to input age of the person but you did not use your scanner.
I am going to do my first Java Project the ElGamal's Encryption. Honestly, i have no idea yet on how to start my program because i don't have idea in encryption but i have to do it. Because it was assigned to me by our instructor. Please help me.
[CODE] import java.io.*; public class CheckersGame { public static void main (String []args) throws IOException { BufferedReader jill = new BufferedReader (new InputStreamReader (System.in)); System.out.print("Enter name of the first to move: "); String name = jill.readLine(); System.out.print("Enter name of " + name + "'s opponent: "); String opo = jill.readLine(); …
maybe you can use a [code]try{ }catch(ExceptionType handler){ } [/code]
Please specify your question because your question is still questionable.
[CODE]import java.io.*; public class Prime{ public static void main(String[] args) throws IOException { BufferedReader jill = new BufferedReader (new InputStreamReader (System.in)); boolean isPrime = true; System.out.print("Enter number: "); int input = Integer.parseInt(jill.readLine()); if(input < 2){ isPrime = false; } if (input == 2) { isPrime = true; } if (isPrime) …
Name: Jillberth Nickname: jill Height: 5'7'' Weight: 45 kgs Hair: Black Eyes: Brown Location: Philippines Age: 16 Hobbies: Playing dota, sometimes programming Relationship Status: single Fav Music: the beatles' hits Education: Computer Engineering Work: not yet.. i'm stil studying.. Favorite Movies: final destination.. Favorite Video Games: Dota, Racing Game Programming …
The End.
mrjillberth