Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

What is the problem of this?

+1 vote
asked Oct 31, 2020 by Shaina Chu (130 points)
Main.java:23: error:  expected         Return r; p*a;    ^

 Main.java:23: error:  expected         Return r; p*a;                        ^

1 Answer

0 votes
answered Nov 2, 2020 by Peter Minarik (86,640 points)
Could you please share the whole error message, not just a line from it?

Also, maybe share your code too to provide better clarity.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...