Why is it not giving the correct answer??
#include <iostream> using namespace std; int main() { int klaidoscopes; cin>>klaidoscopes ; float tax=(5*7)/100; float discount=(5*10)/100; int purchase=klaidoscopes*5; float total=purchase+tax; float d_total=total-discount; if(klaidoscopes >1){ cout<<d_total; } else{ if(klaidoscopes ==1){ cout<<total; } } return 0; } You sell souvenir kaleidoscopes at a gift shop, and if a customer buys more than one, they get a 10% discount on all of them! Given the total number of kaleidoscopes that a customer buys, let them know what their total will be. Tax is 7%. All of your kaleidoscopes cost the same amount, 5.00. Task: Take the number of kaleidoscopes that a customer buys and output their total cost including tax and any discounts. Input Format: An integer value that represents the number of kaleidoscopes that a customer orders. Output Format: A number that represents the total purchase price to two decimal places. Sample Input: 4 Sample Output: 19.26