// Using Structures with Functions
#include <iostream>
using namespace std;

struct fruit {
  string origin;
  double weight;
  int price;
};

void printProperties(fruit x) {
   cout << "Origin: " << x.origin << endl;
   cout << "Weight: " << x.weight << endl;
   cout << " Price: " << x.price  << endl;
}

int main() {
  fruit f = {"Asia", 2.45, 31};
  printProperties(f);
}
