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 Siya 20th November 2025

Really refined and beautiful experience. The Call Girls Service In Delhi here is like a luxury, intimate, and deeply gratifying.

profile Cheetah 13th November 2025

Discover stylish bomber jacket for men. Perfect fit, premium quality, and modern look to upgrade your wardrobe.

profile Servis 12th November 2025

Shoes with comfort and style are hard to come by. Servis Shoes Online offers a collection of shoes for women, which can be used for any occasion. Buy online women's shoes in various Colours at low prices from Servis with fast delivery.

profile Brisk 11th November 2025

Shop elegant formal dress shirts for men that combine comfort, premium fabric, and style. Ideal for work, parties, and business events.

profile Grow 11th November 2025

Discover healthy brain food in Pakistan made with natural ingredients to boost focus, memory, and energy for growing kids every day.

profile Adoro 10th November 2025

Explore the newest styles of ladies shoes, including stylish heels to luxurious flats. Discover an extensive range of fashionable, quality shoes made to improve your style and offer comfort during the day. Get the ideal pair to complete your outfit by shopping now!

profile Shop 10th November 2025

ECS brings the perfect collection of high heels in Pakistan. With a wide range of shoes, including high heels and wedge heels, we have something for women. So, get your favorite heels today.

profile jack 3rd September 2025

This is definitely the knowledge We are acquiring all over the place. Cheers for ones web site, I merely join your blog. This is the wonderful web site. . halloween lingerie for bride

profile jack 3rd September 2025

Superb publish, proceeded to go forward as well as saved your website. We can’t wait around to see much more through a person. swimming pool covers

profile jack 30th August 2025

You may be permitted to blog post details, though not back-links, with regard to they are really sanctioned and even at area. women underwear uae

profile Ateeb 23rd August 2025

I’m influenced using the surpassing as well as preachy itemizing that you simply provide such small timing. 79club

profile Ateeb 23rd August 2025

https://www.indiemusicpeople.com/journal.aspx?id=152639

profile jambla 12th August 2025

Thanks for sharing this! Board Foot Calculator The W letter counting logic is super clear. I found it helpful to practice with different inputs like "W S W W W S W W S W" to understand the pattern better. Really cool example for string handling! 😊

profile jambla 12th August 2025

Transform ordinary text into stunning Gothic style fonts. Free online Gothic Text Generator with Medieval, Victorian, Fraktur, and Old English styles for social media, tattoos, and logos

profile jambla 16th July 2025

Thanks for explaining this! The logic is clear - count W's in a 10-letter input. BTW, I made the text look really cool using Gothic Text Generator website. It helped make my code comments more stylish! 🔥 

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