C# program for character comparison
belongs to collection: C# Basic Programs | If else (conditional statement) programs
All Answers
total answers (1)
belongs to collection: C# Basic Programs | If else (conditional statement) programs
total answers (1)
C# code to compare two characters
Here, we are asking for two characters from the user – and checking whether they are the same characters or not?
Output
C# code to compare characters in a string
Here, we are asking for a string from the user – and printing only vowels by comparing each character of the string with vowel characters.
Output