now its totally upto you, i write the code in easy way as easy i can write.
Type: Posts; User: parth31
now its totally upto you, i write the code in easy way as easy i can write.
like? can you please elaborate...
oh , you want take input from user .
wait then .
Scanner sc = new Scanner (System.in);
System.out.println(" enter your decimal number ");
double number = sc.nextDouble();
...
now run the code. there is no errors right now .
if you are interested in pair programming then E mail me at parthmishra1131@gmail.com
[QUOTE=Mounkaila144;172218]hello
[code=Java] public static void main(String[] args) {
Scanner sc=new Scanner(System.in ); //(import java.util.Scanner;) before public static void main
...