Soft Skills2 Quiz2_52_2021 2022 السؤال 1 Question: An input file employees.txt contains records of four employees. Each

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Soft Skills2 Quiz2_52_2021 2022 السؤال 1 Question: An input file employees.txt contains records of four employees. Each

Post by answerhappygod »

 1
1 (56.67 KiB) Viewed 34 times
Soft Skills2 Quiz2_52_2021 2022 السؤال 1 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 ЦІ В
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply