how to stop looping? and how to declare sentinel value? :/
Type: Posts; User: hirohashimoto
how to stop looping? and how to declare sentinel value? :/
I have here a sample loop but I dont know how to apply this on my code
do {
System.out.println("Add more? (y/n)");
Scanner input1=new Scanner(System.in);
...
Create a java program that would
(1) use arrays and looping;
(2)Instruction: [ When the program is run]
(a)Enter the name of the student;
(b)Enter the name of each family member(s);
(c)Enter the...
THANK YOU FOR THE ANSWER :)
import java.util.*;
class Array
{
public static void main(String[] args)
{
this is my code
import java.util.*;
class Array
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
import java.util.*;
class Array
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
okay thank you for your time :/ :(
I`ll study on my own :(
will you please provide me program so that I can study how do you do that program :/
sorry I`m beginner here java I just wanna make a program that will help me for the future activity so that I`m asking to help me to continue my program regarding to the question I gave :/
this is the program that I`ve done so far after that I dont know what`s next :/ what should be the next? I`m not familiar in java :(
import java.util.*;
class Array
{
public static void...
okay this is I want to do.
Create a java program that would
(1) use arrays and looping;
(a)Enter the name of the student;
(b)Enter the name of each family member(s);
(c)Enter the age of each...
i want to make a program this should be the output!
Enter Students names:
Enter a number, how many are there in your family:
2
You entered: 2 in you family members
name 1: ...