Question: can someone help me with the error please View Git Project Build Debug Test Analyze Tools Extensions Wind 2. Debug x86 Local Windows Debugger (Global

can someone help me with the error please can someone help me with the error please View Git Project Build

View Git Project Build Debug Test Analyze Tools Extensions Wind 2. Debug x86 Local Windows Debugger (Global Scope) #include #include int main() { int numberOfPencils = 0; float priceOfPencil = 0, subtotal, taxAmount, totalAmountDue; printf("Name:\t\t\tDominic Oduro "); printf(" Student Number:\t\tN01458336 "); printf(" \t\tHumber Stationary Store "); printf("Enter the number of pencils to purchase: "); scanf_s("%d", &numberOfPencils); printf("Enter the price of one pencil: "); scanf_s("%f", &priceOfPencil); subTotal = (float) numberOfPencils priceOfPencil taxAmount = subTotal * .13; totalAmountDue = subTotal + taxAmount; printf("Number of pencils purchased :\t %d ", numberOfPencils); printf("Price of each pencil.ft\t%.2f ", priceOfPencil), printf("Sub Total:\t\t\t%.2f ", subTotal); printf("Tax amount at 13% % HST:\t\t%.2f ", taxAmount); printf("Total amount due now:\t\t%.2f ", totalAmountDue); return 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!