السلام عليكم عندي سؤالين في البدوجيكت الثالث
انا حليت البروجيكت بس ما عرفت كيف اضيف كاونتر counter و كيف انهي البرنامج اذا المستخدم اختار عدم الاستمرار
Extension 2: You need to keep a count of the number of times the user has entered a unit for conversion and print the count number after the user clicks NO. For example, if the user has used the program 3 times to find the solution of converting three units, then the program should print: "You have used the program 3 times".
Extension 4: The program will terminates only if the count number is greater than 4 and there is at least one conversion of each conversion type. Otherwise, it will continue to run (asking the user for input and repeating the whole program from extension 1). Note that the count number is initialized only once and should be updated each time the user has entered an input for conversion.