Question 4.8: Write a Java program to print square root (√), Ohm( Ω) , Plus Minus( ±) and not equal(≠).
Solution:
package lab4problem8;
public class Lab4Problem8 {
public static void main(String[] args) {
System.out.println("Square Root (\u221A)");
System.out.println("Ohm (\u2126");
System.out.println("Plus Minus (\u00B1)");
System.out.println("Not Equal (\u2260)");
}
}