Computer Science, asked by Anjali4214, 10 months ago

5 .Complte following prgm to display multiplication of 6.40 an d 300

Answers

Answered by Ankit02
0

class multiply

{

public static void main()

{

System.out.println(6.40*300);

}

}

Thanks!

Answered by jitekumar4201
0

class Multiply  

{

public static void main(String arg[])

          {

              System.out.println(6.40*300)

          }

}

Explanation:

  • class name first letter Should be capital
  • or S should be capital in (String arg)[]And System also  
  • for multiply put your digit in a block which is after println  
  • and make a multiply sign between them like  
  • (6.40*300)and don't forget about the column ;  

System.out.println means you want to give output

Attachments:
Similar questions