in c++ please Write a program that uses a struct named SongData to store the following information about a song: Title (
Posted: Mon Jun 06, 2022 5:14 pm
in c++ please
Write a program that uses a struct named SongData to store the
following information about a song: Title (char array - 25
characters) Artist (char array - 25 characters) Year Released
(integer) You may not use strings! The program should create a
SongData variable, and pass it to a function getSongData() to
prompt the user for each member and store the values in the
members. Then the variable is passed to a function printSongData()
that displays the information about the Song as formatted below.
Ex: If the input is: How Many More Times Led Zeppelin 1969 the
output is: Title: How Many More Times Artist: Led Zeppelin Year:
1969 Ex: If the input is: A Sunday Kind Of Love Etta James 1960 the
output is: Title: A Sunday Kind Of Love Artist: Etta James Year:
1960
Write a program that uses a struct named SongData to store the
following information about a song: Title (char array - 25
characters) Artist (char array - 25 characters) Year Released
(integer) You may not use strings! The program should create a
SongData variable, and pass it to a function getSongData() to
prompt the user for each member and store the values in the
members. Then the variable is passed to a function printSongData()
that displays the information about the Song as formatted below.
Ex: If the input is: How Many More Times Led Zeppelin 1969 the
output is: Title: How Many More Times Artist: Led Zeppelin Year:
1969 Ex: If the input is: A Sunday Kind Of Love Etta James 1960 the
output is: Title: A Sunday Kind Of Love Artist: Etta James Year:
1960