Write a program named Total.java that accepts two numbers, N and M, then add all numbers in the range of [N, M], assume N<=M.
then display the total. Please use for loop for this problem.