#include <iostream>

using namespace std;

struct produce
{
   string name;
   float price;
};

void printProduce(produce item);

int main()
{  
   produce apple, orange, kiwi;
   apple.name = "Apple";
   apple.price = .25;
   
   orange.name = "Orange";
   orange.price = .45;
   
   kiwi.name = "Kiwi";
   kiwi.price = 1.0233;

   printProduce(apple);
   printProduce(orange);
   printProduce(kiwi);
   
   return 0;
}

void printProduce(produce item)
{
   // Use fixed point notation instead of floating (default)
   cout.setf(ios::fixed);
   // Decimal point should always be displayed
   cout.setf(ios::showpoint);
   // Precision should be set to 2
   cout.precision(2);
   cout << item.name << "\t$" << item.price << endl;
}