Write a function (seat_type) that reads an input from the user that represents a seat class. The user should enter F: for a first class seat, C: for a business class seat, or Y: for an economy seat. The function should validate the user input to accept only F, C, or Y.
yassink 0 Newbie Poster
pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
aradicev 0 Newbie Poster
yassink 0 Newbie Poster
Moschops 683 Practically a Master Poster Featured Poster
yassink 0 Newbie Poster
Moschops 683 Practically a Master Poster Featured Poster
yassink 0 Newbie Poster
Moschops 683 Practically a Master Poster Featured Poster
yassink 0 Newbie Poster
yassink 0 Newbie Poster
k99rs 9 Newbie Poster
mridul.ahuja 4 Coding Enthusiast
RonalBertogi 46 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.