Write a program that, given the 'Stars' dataset will do the following: Ask the user for the name of the input file. Ask the user for the name of the column they wish to average (one of Temperature, Luminosity, Radius or Absolute Magnitude) Print the average of that column for each star type.

Solved
Show answers

Ask an AI advisor a question