#include using namespace std; typedef struct { string id; string name; double price; } book; void swap(double &num1, double &num2) { double temp = num1; num1 = num2; num2 = temp; } book sort(book &books) { book new_books[100]; }