PRJ302_-_PE_-_SU_2024_2158.webp
pure_pearl

PRJ302_-_PE_-_SU_2024_2158.webp

Check exist. If list of execution exists an item containing the array textfield and option, show the error text "Execution existed!". (1.0 point)
When input array and choose an option
After clicking the "COUNT" button
Enter an integer array: 1,2,3,4
Enter an integer array: 1,2,3,4
Choose an option:Odd Even
Choose an option:Odd Even
Result:
COUNT
COUNT Execution existed!
List of Executions:
Result:
List of Executions:
Array Option Result
Array Option Result
1,2,3,4 odd
2
1,2,3,4 odd 2
1.2.3.4 even 2
1,2,3,4 even 2
=>
Zoom
Otherwise, make the request b.
b. Execute: (1.5 point)
If users choose "Odd" option, count the number of elements in the array that are odd integer number, then add the result to "List of Executions" as shown below.
- If users choose "Even" option, count the number of elements in the array that are even integer
number, then add the result to "List of Executions" as shown below.
When input array and choose an option
After clicking the "COUNT" button
Enter an integer array: 1,2,3,4
Enter an integer array: 1,2,3,4
Close
+ 100%
Chưa có bình luận nào.

Thông tin

Category
PRJ302
Thêm bởi
pure_pearl
Ngày thêm
Lượt xem
728
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRJ302_-_PE_-_SU_2024_2158.webp
File size
207.1 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom