हिंदी

Write an algorithm to find the greatest among two different numbers entered by the user. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Write an algorithm to find the greatest among two different numbers entered by the user.

टिप्पणी लिखिए

उत्तर

Input first number
Input second number
If first > second then
     Print first number is greater then second

else :
     Print second number is greater than first
shaalaa.com
Algorithms
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 4: Introduction to Problem Solving - Exercise [पृष्ठ ८४]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
अध्याय 4 Introduction to Problem Solving
Exercise | Q 8. | पृष्ठ ८४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×