Here is the problem i've been given:Write a program that accepts two doubles, representing the cost price (c) and percent markup (m) of an item, and calculates and displays the selling price (s).
Here is the code if written so far to complete this progect. By the way I'm using the free BloodShed compiler version 4.01.#include #include
printf("Please enter the cost of your item.
percentageIncrease = price + price/100;
printf("Please enter the percent markup of your item
finalPrice = percentageIncrease;
printf("Your final price is %.2lf
can anyone suggest what i'm doing wrong? This program compiles with no errors, but it does not produce the correct output. I think that my problem is with the "%lf". any suggestions? For additional info on this project and to see a working example please visit this link :
My project is HW01. The .exe is not a virus - i swear. This is due tonight at midnight.