Objective: Division program in java.
Code:
class java6
{
public static void main(String args[])
{
int a=50;
int b=10;
int p;
p=a/b;
System.out.println("divison"+p);
}
}
Output:
Hello, my name is G Krishna. I'm Creating this blog for the students who are beginners.
Learn More →
No comments:
Post a Comment