My program complied without error but it is giving no output...!! What to do ..?? | Sololearn: Learn to code for FREE!

0

My program complied without error but it is giving no output...!! What to do ..??

12/1/2019 5:19:37 PM

Gyan prakash Mishra

6 Answers

New Answer

+1

Where is your code. Share it.

+1

Your main function is wrong. public static void main(String[] args) { //add your code here }

+1

Your program is missing the main function with the exact signature public static void main(String [] args) The main in your class currently is just a member method.

0

Do you mean this code? https://code.sololearn.com/cGT502RhTfWQ/?ref=app

0

Gramercy..!! I checked it.!