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.

closed My you please help what is the solution of my error?

+8 votes
asked Oct 12, 2022 by alexandra ramos (200 points)
closed Oct 20, 2022 by Admin
main.cpp:15:3: error: expected initializer before ‘cout’
   15 |   cout<< "Input any amount of money(pesos)"
      |   ^~~~
closed as a duplicate of: Hello may you please solve my error?

1 Answer

+1 vote
answered Oct 12, 2022 by Peter Minarik (86,130 points)
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.
...