How do I put this code in a method in java?

前端 未结 0 1946
鱼传尺愫
鱼传尺愫 2021-02-04 07:22

// Ask the user to input the aValue, bValue and cValue

            System.out.print("Enter the value of a: ");  
            double a = input.nextDouble         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题