I am Having trouble finding the 1st and 2nd top selling items and i just need it to print in the console... can someone help me out with that i think the problem is in lines 58-64
You are making this a little bit harder than it needs to be.
First of all, your totalRevenue variable has absolutely nothing to do with revenue. I would change the name to totalItems. Then it will be meaningful. And there is no reason you need a separate i variable when you are reading in the data. Just use totalItems.
Now, on to the functionality.
You only need 1 loop.
Start with 2 Product objects, named top and second. Initialize them both to the value at p[0]. You might also want to add double revenue; to your struct so you can calculate and store the revenue for each item and you don't need to recalculate it all the time.
Loop through your p array. If the total revenue for the array element is greater than that in top, then move top into second and store the array value in top. Otherwise, if the array value is greater than the value in second, store the array value in second.