English

Draw a flowchart to check whether a given number is an Armstrong number. An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number - Computer Science (Python)

Advertisements
Advertisements

Question

Draw a flowchart to check whether a given number is an Armstrong number. An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number since 3**3 + 7**3 + 1**3 = 371.

Chart
Advertisements

Solution

shaalaa.com
Flowchart
  Is there an error in this question or solution?
Chapter 4: Introduction to Problem Solving - Exercise [Page 85]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 4 Introduction to Problem Solving
Exercise | Q 16. | Page 85
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×