Skip to content

MichaelRybak/complexity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

complex(e)ty check

The script checks if the input entered by user contains the word "complexety". If it does, the script shows a message about the error. The message also includes information about the correct way of spelling this word - "complexity".

complScreen1 complScreen2 complScreen3 complScreen4

TESTS:

  1. Input: "complexity check" Expected result: "Correct!" Actual result: "Correct!"

  2. Input: "complexety check" Expected result: "Error! Correct: complexity." Actual result: "Error! Correct: complexity."

  3. Input: "complexetyyyy check" Expected result: "Correct!" Actual result: "Correct!"

  4. Input: "ccccomplexety check" Expected result: "Correct!" Actual result: "Correct!"

!!! The script recognises as an incorrect word only the word "complexety" written with the lowercase letters.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%