Aug 19, 2019

LOSS AND PROFIT PROGRAM


                                                      CONDITIONAL PROGRAM

loss and profit computer program, loss and profit C++ program
loss and profit computer program

                                                             LOSS AND PROFIT

Program number# 2
            Program that determine loss and profit
Program:

  void main (void
{
 int sale, cost;
  printf(“enter cost price”);
  scanf(“%d”, &cost);
  printf(“enter sale price”);
  scanf(“%d”, &sale);
  if (sale > cost)
  printf(“you are in profit”);
  else
  printf(“you are in loss”);
}

  This program will print the loss and profit of different things which can be sale.....

0 comments:

Post a Comment

Please do not enter any spam link in the comment box