TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.7] comparision between float and double

public class Easy{


public static void main(String...a){
    float b=100.0;
    if(b<100.0){
       System.out.print("big");
    }else if(b>100.0){
       System.out.print("small");
    }else{
       System.out.print("equal");
    }
}
}
    

Options]

A) big
B)small
C)eqaul
D)compile time error        

Click to See Answer
D)compile time error    

Next | bit wise operator

Previous | what do we need to do with the following program to make it better? select any 1 option

Hemen Ashodia [paper setter]
Register & recharge
Male Female
I agree Terms and Conditions