PRJ301_-_FA_2024_-_PE_-_s_-_5_2879.webp
Văn Nam2

PRJ301_-_FA_2024_-_PE_-_s_-_5_2879.webp

Result:
EXECUTE
Result
Option
EXECUTE
Execution existed!
String str Hello
Result:
Length of string 5
String str
Option
Result
Hello
Length of string 5
Otherwise, make the request b.
b. Execute: (1.5 point)
- If users choose "Length of string" option, count the number of characters of the string str, then add the result to table as shown below.
- If users choose "Consonant characters" option, count the number of characters that are consonants in string str, then add the result to table as shown below.
=>
(Consonants are defined as any letter in the English alphabet that is not a vowel (a, e, i, o, u). The count should be case-insensitive and exclude any non-alphabetic characters)
When input string and choose an option
After clicking the "EXECUTE" button
Zoom

Close
+ 100%
Chưa có bình luận nào.

Thông tin

Category
PRJ301
Thêm bởi
Văn Nam2
Ngày thêm
Lượt xem
2,253
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRJ301_-_FA_2024_-_PE_-_s_-_5_2879.webp
File size
166.7 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom