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 Abrar 1st October 2024

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. 面霜推薦

Write a comment ...
Post comment
Cancel
profile ZenGlow 20th September 2024

Discover the best treatment for varicose veins with our advanced, minimally invasive procedures.
 

Write a comment ...
Post comment
Cancel
profile inserts 13th September 2024

Your article is very Cemented Carbide Inserts amazing. turning Inserts It VBMT Insert tungsten inserts price is very TCMT Insert helpful for CNC Carbide Inserts newcomers. CNC Turning Inserts It really tungsten insert sharpener makes APMT Insert me happy. Thanks for this Lathe Inserts great article.

Write a comment ...
Post comment
Cancel
profile Uniswift 3rd September 2024

Visit Uniswift.ae to discover the ideal sports enthusiast destination. Find anything you need to succeed in your preferred sport, from in-demand gear to necessary equipment. Use our premium goods to boost your game and performance.

Write a comment ...
Post comment
Cancel
profile Uniswift.pk 31st August 2024

Welcome to UniSwift, your hub for professional soccer gear. From premium cleats to high-performance jerseys, we cater to the needs of serious players. Elevate your game with UniSwift's top-quality equipment and dominate the field like never before!

Write a comment ...
Post comment
Cancel
profile Shalamar Hospital 31st August 2024

Shalamar Hospital offers excellent medical care with a compassionate touch. We put your well-being first, with cutting-edge facilities and a committed team of medical professionals. You may rely on Shalamar Hospital to provide you with complete medical care, guaranteeing that you will get the best attention and assistance possible while you're in need.

Write a comment ...
Post comment
Cancel
profile Haa 28th August 2024

You can do it on nyt strands, I'm sure it will make you happy.

Write a comment ...
Post comment
Cancel
profile Imaginary 19th August 2024

Imaginary Walk, where tradition meets innovation in the heart of the UK’s artisanal landscape. At Imaginary Walk, we craft timeless leather products that embody the essence of elegance and durability. Our collection spans luxurious handbags, refined wallets, and bespoke accessories, each meticulously handcrafted by skilled artisans.

Write a comment ...
Post comment
Cancel
profile Watkins 12th August 2024

boxing random is a wacky, physics-based boxing game where the rules are as unpredictable as the action.

Write a comment ...
Post comment
Cancel
profile Bilal 31st July 2024

Protect your vehicle with a parking shed for car from Arehman Fiber Glass. Our parking sheds are designed to shield your car from the elements, ensuring it stays in pristine condition year-round.

Write a comment ...
Post comment
Cancel
profile Labs Pest 31st July 2024

Discover why Labs Pest Control is a trusted pest control brand . Our expert team delivers reliable and effective pest solutions for homes and businesses. Contact us today!

Write a comment ...
Post comment
Cancel
profile kulure 30th July 2024

Pamper yourself at Kullure Beauty and Body, the ultimate beauty spa salon . Book your session now.

Write a comment ...
Post comment
Cancel
profile salm 25th July 2024

I really like playing Drift Boss, it helps me relax and entertain after stressful working hours.

Write a comment ...
Post comment
Cancel
profile Shalamar Hospital 24th June 2024

Shalamar Hospital offers best pulmonology hospital. With our cutting-edge technology and reputation for knowledge, we provide the best therapy possible for respiratory conditions. Put your respiratory health in the finest hands by putting your trust in Shalamar Hospital for comprehensive care.

Write a comment ...
Post comment
Cancel
profile Uniswift 24th June 2024

Uniswift.ae is your one-stop destination for mma shop dubai. Explore our extensive collection at the MMA shop Dubai. Find everything you need to enhance your training and performance, from gloves to apparel, all at Uniswift.ae.

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