myseleniumtraining
This blog is for Automation Test Engineers
::: Menu :::
Home
Sunday, 3 September 2017
How to find number is positive or negative
int d=-10;
if(d>0){
System.out.println("is positive number");
}
else{
System.out.println("is negative number");
}
Output: is negative number
Email This
BlogThis!
Share to X
Share to Facebook
By Chai on September 03, 2017
0
Newer Post
Older Post
Home
0 comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment