Soft Skills2 Quiz2_52_2021 2022 السؤال 1 Question: An input file employees.txt contains records of four employees. Each
Posted: Fri May 20, 2022 10:06 am
Question: An input file employees.txt contains records of four employees. Each line in the file is a record that contains the employee's first name (string), number of hours worked (int) and hourly rate in Bahraini Dinar BD. Write a program that reads the data from the file and displays on the screen the employ's name and his/her salary as shown below. • Salary = Hours Worked * Hourly rate. Name Input file: employees.txt Emad 45 3.5 Yasser 100 5.25 Amina 77 9.0 Eman 60 4.75 Emad Screen Salary 157.500 525.000 693.000 285.000 Yasser Amina Eman للحصول علي الشريط الأدوات، اضغط على ALT+F10 (الكمبيوتر الشيخ) أو ALT+FN+F10 (نظام التشغيل )WWa) A !! 10pt Arial البقرة S ЦІ В
Soft Skills2 Quiz2_52_2021 2022 السؤال 1