Flow Chart Ex: 4'13 - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

Flow Chart Ex: 4'13

Description:

Compute sales for Product1, Product2, Product3 and Product4. Salary = sales * 0.09 200 ... Enter number sold of product 1, product 2, product 3, and. product 4 ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 5
Provided by: stude1
Category:
Tags: chart | flow | product1

less

Transcript and Presenter's Notes

Title: Flow Chart Ex: 4'13


1
Flow Chart( Ex 4.13 )
Start
Enter number sold of product 1, 2, 3 and 4
Compute sales for Product1, Product2, Product3
and Product4.
Salary sales 0.09 200
Display weekly salary
End
2
Pseudocode( Ex 4.13)
  • Start the program
  • Enter number sold of product 1, product 2,
    product 3, and
  • product 4
  • Compute sales for product 1, product 2,
    product 3 and
  • product 4
  • Calculate salary sales 0.09 200
  • Display weekly salary
  • End the program

3
Flow Chart( Ex 5.13 )
Start
Product 1
Input product number



  • No




  • No



  • No





  • No


  • No

  • Yes


  • No

Product 2
Product 3
Input product quantity
Product 4
Total display
Product 5
End
Product -1
Invalid
4
Pseudocode( Ex 5.13)
  • Start the program
  • Input product number
  • If product 1, price 2.98, input quantity
  • If product 2, price 4.50, input quantity
  • If product 3, price 9.98, input quantity
  • If product 4, price 4.49, input quantity
  • If product 5, price 6.87, input quantity
  • If product -1, total calculation price
    quantity
  • Total display
  • End program
Write a Comment
User Comments (0)
About PowerShow.com