Accept an input with 10 letters If the letter W contains five or more characters

Accept an input with 10 letters If the letter W contains five or more characters, then output "OK" and "NG" if the number is less than five. (Note: The 10 letters contain space between each other.

The letter contained in the 10 letters is only S or W)

Example (1) If the input value is W W W W W S W W S W, the output is 5 or more, so the output is OK.

Example (2) If the input value is W W S S S W S W S S, if the input value is less than 5, then the output is NG.

0   0
Hein Htet
profile Linda 20th March 2024

I want to introduce geometry dash scratch which is an awesome adventure game.

Write a comment ...
Post comment
Cancel
profile Jewel Galore 22nd January 2024

 Explore Jewelgalore exquisite  ladies ring design . Each piece reflects unique craftsmanship and elegance, perfect for adding a touch of sophistication to your style.

Write a comment ...
Post comment
Cancel
profile Jewel Galore 22nd January 2024

 Explore the elegant world of  earring tops  at Jewel Galore. Our exquisite collection offers a variety of designs to match your style, ensuring you're always ready to shine.

Write a comment ...
Post comment
Cancel
profile Jewel Galore 22nd January 2024

 Explore the elegant world of  earring tops  at Jewel Galore. Our exquisite collection offers a variety of designs to match your style, ensuring you're always ready to shine.

Write a comment ...
Post comment
Cancel
profile Shalamar Hospital 22nd January 2024

Shalamar Hospital is your reliable  emergency hospital , equipped to handle critical medical situations. Trust us for immediate, expert care in times of need.

Write a comment ...
Post comment
Cancel
profile OSH 22nd January 2024

Osh University's  Medical faculty  is dedicated to providing advanced training and education for healthcare professionals, equipping them for excellence in their fields.

Write a comment ...
Post comment
Cancel
profile Ammara 13th January 2024

Discover the exquisite collection of velvet dress pakistani. Immerse yourself in irresistible velvet dress designs, including Pakistani velvet dresses and stunning velvet kaftans. Experience luxury and elegance like never before.

Write a comment ...
Post comment
Cancel
profile Ahmad 13th January 2024

Ahmad Shahjahan offers stylish and reasonably priced men shalwar kameez Pakistan online. Check out our collection to discover the latest trends and fashions.

Write a comment ...
Post comment
Cancel
profile Nani 12th January 2024

Find the perfect diaper bags for busy parents who are always on the go. Our fashionable and practical bags are made to keep your baby's necessities organized and important. With our chic diaper bag selection, parenting will be a breeze.

Write a comment ...
Post comment
Cancel
profile Declare 12th January 2024

Visit Declare to explore new dress designs. We have everything from stylish to trendy dresses. Keep up with the latest fashion trends today. Shop now to add new design dresses to your wardrobe!

Write a comment ...
Post comment
Cancel
profile Nayza 12th January 2024

Shop the latest collection of gym wear for men at Nayza. Choose from a wide range of gym wear, including gym clothes and men's fitness apparel, to stay stylish and comfortable during your workouts.

Write a comment ...
Post comment
Cancel
profile SO Kamal 12th January 2024

So Kamal is one of the Best in top leading Pakistani clothing brands, offering a wide range of stylish and trendy attire. Shop online to explore the latest collection and elevate your fashion game.

Write a comment ...
Post comment
Cancel
profile ECS 12th January 2024

ECS offers you the most stunning collections of heels for girls. ECS gives its customers high-quality high heels and heel shoes for girls. So, get the best heals for girls in Pakistan today.

Write a comment ...
Post comment
Cancel
profile ECS 12th January 2024

ECS offers you the most stunning collections of heels for girls. ECS gives its customers high-quality high heels and heel shoes for girls. So, get the best heals for girls in Pakistan today.

Write a comment ...
Post comment
Cancel
profile chahyay 12th January 2024

Find the perfect side table design for your bedroom at Chahyay. Explore a variety of stylish and functional bedside tables to enhance your space.

Write a comment ...
Post comment
Cancel

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site