Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Comparison {
- public static void main(String[] args) {
- float first = 3.9f;
- float second = 3.91f;
- if (first > second)
- System.out.println("First is bigger");
- else
- System.out.println("Second is bigger");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement