Why it doesn't print car name...?

IDE link:-

@sonu28sharma99
car c(2000000, 1098, Range_Rover);

Give the string(name) in double quotes:
write it as - “Range_Rover”