🔒 Closed Pa help sa code snippet na to

Status
Not open for further replies.

Sanji Ken

Honorary Poster
Java:
import java.util.*;
public class Height
{
    public static void main(String[] args)
    {
        Scanner input = new Scanner(System.in);
        System.out.println("Enter your height in feet: ");       
        int height = input.nextInt();
        
        if(height <= 6){
            System.out.println("You must be of European descent." );
        }
        else{
            System.out.println("Are you Asian?");
        }
    }
}

Bakit ayaw mag run nito sa ibang pc application pero sa Jvdroid (cp) gumagana naman
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 1K
    Views
  • 2
    Participants
Last reply from:
Sanji Ken

Trending Topics

Online now

Members online
1,296
Guests online
3,521
Total visitors
4,817

Forum statistics

Threads
2,304,259
Posts
29,158,731
Members
1,196,726
Latest member
Maloi_forevee
Back
Top