Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Write a description of class DoubleSum here.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class DoubleSum
- {
- public static void main (String[] args){
- System.out.println('\f');
- int a=1, b=1;
- if (a==b) {
- System.out.println((a+b)*2);
- }else
- System.out.println(a+b);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement