0

Help, me student 😅

1. Given the names and marks of n=12 students in Python Programming. (a) Calculate their grades (0-49 = F, 50-64 = C, 65-84 = B, 85-100 = A). (b) Calculate the minimum, maximum and average mark (rounded to 2 decimal places). Write a program to generate a report that resembles the below. 2. A factory employs n=15 workers. They are paid an hourly rate of RM37.50. Their wages are calculated as follows: wage = hours * rate for hours between 0 and <=40 = 40*rate + (hours – 40) * rate * 1.5 for hours >40 and <= 60 = 40*rate + 20*rate*1.5 + (hours – 60) * rate * 2.0 for hours > 60 Write a program to generate a report that resembles the below. 3. Write a program to generate 200 integer random numbers in the range [100, 999]. (a) How many are in the range (i) 100-249, (ii) 250-499, (iii) 500-749 and (iv) 750-999?

1st Aug 2024, 2:10 AM
Alias Omar
Alias Omar - avatar
1 ответ
+ 4
Hello Alias, I appreciate your enthusiasm and understand your concerns. In the Q&A discussion section, you can ask questions about programming or related SL, but it's best not to request complete code solutions. Instead, I encourage you to explore similar code examples shared by fellow users, which can greatly help you understand and build your own. You can find these by searching relevant keywords in the code section of SoloLearn. This will help you learn and develop your coding skills. Happy coding! Here are some codes uploaded by users in response to your queries. https://sololearn.com/compiler-playground/cEJK43d0N8sr/?ref=app https://sololearn.com/compiler-playground/cMFFIX2YKwfR/?ref=app https://sololearn.com/compiler-playground/cOrcU5u8zY0o/?ref=app
1st Aug 2024, 5:14 AM
✧GHOST✧
✧GHOST✧ - avatar