Thread: Calculate Disccount

  1. #1
    Registered User
    Join Date
    Sep 2020
    Posts
    1

    Smile Calculate Disccount

    I have two price and discount variables.

    How do I calculate the discount of this product with the variables I have.


    Best Regards
    Attached Images Attached Images Calculate Disccount-captura-de-ecrã-de-2020-09-13-11-57-15-jpg 

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    38,708
    Post your code as text, not a broken picture.

    Nevermind, cross-posted here as well.
    Calculate Discount c++ - C++ Forum
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help calculate GPA
    By avavida in forum Tech Board
    Replies: 2
    Last Post: 06-22-2017, 02:45 AM
  2. Trying to calculate GPA
    By avavida in forum General Discussions
    Replies: 1
    Last Post: 05-21-2017, 12:33 PM
  3. Calculate E
    By hyper nova in forum C Programming
    Replies: 4
    Last Post: 03-10-2016, 07:25 AM
  4. calculate 100! bug.
    By nimitzhunter in forum C++ Programming
    Replies: 11
    Last Post: 03-29-2014, 11:50 PM
  5. Calculate BMI and BMR
    By nguystep in forum C Programming
    Replies: 4
    Last Post: 10-26-2011, 02:59 AM

Tags for this Thread