URI Problem 1095 Solution in Java

Problem Details Link

Solution:



import java.util.Scanner;

/**
 * @Author : Muhammad Harun-Or-Roshid
 * @E-mail : md.parvez28@gmail.com
 * @Date : Oct 16, 2016
 * @Time : 10:47:47 PM
 */
public class Uri1095 {

    public static void main(String[] args) {
        int i = 1;
        for (int j = 60; j >= 0; j-=5) {
            System.out.println("I="+i+" J="+j);
            i+=3;
        }
    }
}


Comments

Popular posts from this blog

URI Problem 1094 Solution in Java

URI Problem 1099 Solution in Java

URI Problem 1012 Solution in Java