هاي....
شخباركم بنات و شباب؟ عساكم بخير و صحة و سلامة؟
ابي اسأل اذا احد حل اسايمنت 6 حق ال ITCS 101 .....؟
حل هذا الاسايمنت يتعلق بحل الاسايمنت اللي قبله ( اسايمنت 5 ) .......والسؤال يقول:
Write a program that prompts the user to enter the name of an item, searches the file invoice.txt that was created in Assignment 5 for the item, and then displays the name and the price associated with that item. If the search item isn't in the list, you reach the end of file.
Use a compound flag-controlled while loop to search the list until either the item is found or the end of file is reached. Display a message if the item isn't found.
Depending on the data entered. The input entered by the user is shown in bold:
Enter name of item for search: shovel
The item shovel costs 35.40
Or
Enter name of item for search: hoe
The item hoe was not found
اذا أحد عرف يحله قبل يوم الأحد .... باكون له شااااااااكرة
merci مقدماً