Problem: equal words

Write a program that inputs two words and checks if they are the same. Do not make difference between uppercase and lowercase letters. You have to print "yes" or "no".

Sample Input and Output

Input Output
Hello
Hello
yes
SoftUni
softuni
yes
Soft
Uni
no
beer
vodka
no
HeLlO
hELLo
yes

Hints and Guidelines

Before comparing the words, turn them to a lowercase to avoid the letter size influence (uppercase / lowercase): word = word.ToLower().

Testing in the Judge System

Test your solution from the example here: https://judge.softuni.bg/Contests/Practice/Index/506#10.

results matching ""

    No results matching ""