Looking for a Tutor Near You?

Post Learning Requirement »
x

Choose Country Code

x

Direction

x

Ask a Question

x

x
x
x
Hire a Tutor

ICSE Important Questions

Loading...

Published in: Java And J2EE
3,604 Views

Java programs for class 9 and 10

Jayeeta B / Kolkata

3 years of teaching experience

Qualification: MCA

Teaches: All Subjects, Computer, Computer Science, School Level Computer

Contact this Tutor
  1. Create a class named triangle_type and write a program(source code) in JAVA to accept three sides of a triangle .Compute and print whether the triangle is equilateral or isosceles or scalene triangle. class triangle_type public void display(int a,int b,int c) If(a-- System.out.println("The triangle is equilateral"); else if((a-- System.out.println("The triangle is is isosceles"); else System.out.println("The triangle is scalene"); OUTPUT The triangle is equilateral