This study proposed a teaching model that integrates attention, relevance, confidence, and satisfaction (ARCS) model and problem-based learning (PBL) and applied the proposed model to a flipped classroom to improve learners’ learning motivation and effectiveness. Proficiency in the C# program language was the learning objective in this study. For the experiment, students were assigned either to the control group that used the conventional teaching method or to the experimental group that used this study’s flipped classroom method. The learning outcome levels of the two groups were assessed based on their pretest and posttest data. In addition, the students’ learning motivation was discussed in terms of the four dimensions of ARCS. The results showed that regarding learning outcomes, the experimental group had a more significant improvement in their learning results than the control group did; the experimental group achieved significant results for every dimension in the questionnaire. Therefore, the learners gave a positive review of the flipped classroom model designed in this study.