// serious program
import java.io.*;
import java.text.*;
import java.lang.Math;
class ssva8
{
public static void main(String arg[]) throws IOException
{
double i=1.0,j=0.1;
BufferedReader obj=new BufferedReader(new InputStreamReader(System.in));
System.out.print("\nENTER THE VALUE N>1.0 : ");
double n=Double.parseDouble(obj.readLine());
System.out.print("\nENTER THE VALUE M>0.1 : ");
double m=Double.parseDouble(obj.readLine());
System.out.println("\n");
NumberFormat nf= NumberFormat.getInstance();
for(i=0.0;i<=n;i=i+1.0)
{
for(j=0.0;j<=m;j=j+0.1)
{
System.out.print(nf.format(Math.sqrt(i+j))+ " ");
}
System.out.println("\n");
}
}
}Java
Calculate The Serious Program Using Java

Written by
View ProfileSenthilvelan Sambamoorthy
Senthilvelan Sambamoorthy is working as a Professor in Department of Master of Computer Applications, Paavai Engineering College, Namakkal, Tamilnadu, India, He is Masters in Computers Applications. Having 18+ years of experience and his area of interest is Java, JSP, Servlet, J2EE, C#, PHP, Python ASP.NET, SQL Server and etc.
