My program output is accepting space as input and displaying gurbage values please help me with it
program output
program and output screenshots are above plea