7. Greatest of three numbers - Algorithm & Flowchart -

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 18

  • @Poem_arabic
    @Poem_arabic 7 місяців тому +1

    شكراً لك❤

  • @jangchuingamkamei8859
    @jangchuingamkamei8859 2 місяці тому

    Super explanation. Tq so much

  • @macsky07
    @macsky07 11 місяців тому

    Why not print c is the greatest after comparing a with b and c am bit confused mam please answer

    • @preethij427
      @preethij427  11 місяців тому +2

      The reason the algorithm doesn’t print “c is the greatest” after comparing ‘a’ with ‘b’ and ‘c’ is because the logic is structured in a way that checks for greatest numbers among the three(a,b,c) without directly comparing ‘a’ with ‘c’. It first compares ‘a’ with ‘b’ and then proceeds to determine the greatest among the three numbers based on the comparison results. The logic is designed to ensure that the greatest number is correctly identified and printed.
      If ‘a’ is not greater than ‘b’, the algorithm goes on to check if ‘b’ is greater than ‘c’. If ‘b’ is greater than ‘c’, it prints ‘b is the greatest’ because it has already established that ‘a’ is not greater than ‘b’. If ‘b’ is not greater than ‘c’, it prints ‘c is the greatest’ which means that none of the other numbers (a and b) are greater than ‘c’.
      The algorithm is designed to provide the correct result by considering all possible cases and comparing the results systematically.

    • @macsky07
      @macsky07 11 місяців тому +2

      ​@@preethij427oh... oh ! i see okay okay thank you so much didi

  • @siranjevgaming166
    @siranjevgaming166 22 дні тому

    You are great madam

  • @imamalrazi
    @imamalrazi 6 місяців тому

    thnx😇
    Love from BD❤

  • @Rajaissac
    @Rajaissac 7 місяців тому

    thank you ma'am

  • @ankurchowdhury4216
    @ankurchowdhury4216 6 місяців тому

    ❤❤❤❤

  • @NOOBRAMFF
    @NOOBRAMFF 10 місяців тому

    Thanks ma'am ❤

  • @raunakyadav3059
    @raunakyadav3059 7 місяців тому

    TNX mam'm ❤