【解決方法】この問題はどうすればいいですか?


MTrack has a Sports Club which will allow persons to engage in a particular sports event. He wants to maintain financial information on them. Each input record contains the client’s name, a code specifying the type of event as shown below and the amount paid for the fees. The expected fees are shown below:  CODE SPORTS EVENT  FEES T Tennis 18,000 B Badminton 14,000 S Swimming 16,000. You will need to accept an initial input record to indicate how many clients have accepted at this time. Also check CODE, output an error message if CODE is invalid, and ensure that the correct CODE is entered. Output each client’s name, event and the balance remaining on the fees. Further output should also include the total number of each specific sport event selected. "MTrack has a Sports Club which will allow persons to engage in a particular sports event. He wants to maintain financial information on them. Each input record contains the client’s name, a code specifying the type of event as shown below and the amount paid for the fees. The expected fees are shown below:  CODE SPORTS EVENT  FEES T Tennis 18,000 B Badminton 14,000 S Swimming 16,000. You will need to accept an initial input record to indicate how many clients have accepted at this time. Also check CODE, output an error message if CODE is invalid, and ensure that the correct CODE is entered. Output each client’s name, event and the balance remaining on the fees. Further output should also include the total number of each specific sport event selected."

私が試したこと:

CとPythonの両方でコーディングしようとしましたが、理解できません

解決策 1

私たちは立ち往生している人々を喜んで助けますが、それは私たちがあなたのためにすべてをするためにここにいるという意味ではありません! 私たちがすべての作業を行うことはできません。あなたはこれに対して報酬を受け取っているか、またはそれはあなたの成績の一部であり、私たちがあなたのためにすべてを行うことはまったく公平ではありません.

だから私たちはあなたが仕事をする必要があり、あなたが行き詰まったときにあなたを助けます. それは、あなたが提出できる段階的な解決策を提供するという意味ではありません!
現在の状況と、プロセスの次のステップを説明することから始めます。 次に、その次のステップを機能させるために何を試みたか、またその際に何が起こったかを教えてください。

開始するのに問題がある場合は、これが役立つ場合があります。 問題を解決するためのコードの書き方、初心者向けガイド[^]

コメント

タイトルとURLをコピーしました