Problem Statement
Write a program that identifies the first vowel in a string and replaces it with a hyphen ('-'). If no vowels are found, make no changes.
DEMO-C-32 โข Programming in C
Write a program that identifies the first vowel in a string and replaces it with a hyphen ('-'). If no vowels are found, make no changes.
Input:
String S
Output:
Modified
Submit runs every public testcase in this browser. Results and code never leave this device.
Router?3
R-uter?3
Orange!2
-range!2
Record?5
R-cord?5
Buffer#1
B-ffer#1
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question