/* write a program that first reads a number of items purchased in the store then for each item the program reads the price program finds the total price, average price, number of items that cost $10 and below */ #include int main(){ int num_items, count_10=0,i=0; double price, total=0.0,ave; printf("enter number of items\n"); scanf("%d",&num_items); if(num_items>0){ printf("enter %d prices\n",num_items); while(i0) printf("%d items costs $10 or below\n",count_10); else printf("no items below $10\n"); } else printf("empty basket\n"); return 0; }