Flowcharts

download Flowcharts

of 6

description

flowcharts

Transcript of Flowcharts

  • Start

    End

    Print 5

    akhamisNoteProgram to Print 5

  • Start

    End

    Print X

    Store 5 in X

    X is a variable

    5X

    akhamisNoteProgram to Store 5 in a variable and Print the Variable value , which is 5

  • Start

    End

    Print X

    100X

    Input X

    akhamisNoteFlowchart to take Input from user and Print that input

  • Start

    Input X

    Z = X + 5

    100X

    105Z

    Print Z

    End

    akhamisNoteFlowchart to take input from user , then add 5 and store the result on Zand Print Z

  • Start

    Input X,Y

    Z = X + Y

    5X

    9Z

    Print Z

    End

    4Y

    akhamisNoteFlowchart to take 2 inputs from user , then sum them and store the result on Z and Print Z

  • Start

    End

    Input X,Y

    If X > Y Print XYesPrint Y No

    7X

    8Y

    akhamisNoteTake 2 numbers from user and compare them and print the larger

    Drawing1PrintPrint-StorePrint-Input-StoreStore-Print-Input-ArthSumationComparison