Programming 1 - Welcome to Java - Compilations of mine
I want to share my compilations to others.
Tuesday, July 22, 2014
Using && Statement in Java
public class abejeroact24 {
public static void main (String args[]){
int a = 95;
if ((a>=75) && (a<=95))
{
System.out.println("Passed");
}
else
{
System.out.println("Failed");
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment