Sentry Page Protection
Exercise (Bonus)
From the previous exercises, we have written a series of programs that creates the price comparison for the purchasing options.
Write a SAS macro that automates the task of creating the comparison table.
The macro should take the input table as its only parameter.
E.g.
%compare(order1)
Running the macro above should automatically create the comparison below.
From the previous exercises, we have written a series of programs that creates the price comparison for the purchasing options.
Write a SAS macro that automates the task of creating the comparison table.
The macro should take the input table as its only parameter.
E.g.
%compare(order1)
Running the macro above should automatically create the comparison below.
Test your macro with the three other tables below:
- ORDER2
- ORDER3
- ORDER4
You can create the ORDER2, ORDER3 and ORDER4 tables from the yellow box below: