mooza4880 mooza4880
  • 18-07-2021
  • Computers and Technology
contestada

[10 points] Write a program to compute the sum of digits in a number given by the user. You must use your own function to compute the sum of digits.

Respuesta :

dipo142008
dipo142008 dipo142008
  • 18-07-2021

Answer:

I am going to write the program using BASIC PROGRAMMING

Explanation:

10 PROGRAM TO CALCULATE SUM OF DIGITS

20 INPUT B,H,T,G

30 LET Y = B+H+T+G

40 PRINT Y

DO THIS ON BASIC PROGRAMMING AND YOU HAVE YOUR PROGRAM

Answer Link

Otras preguntas

a mi hermano le gusta _____ cartas
What tree disease was spread to North America by a fungus carried on insects embedded on wood imported from northern Europe?
I need help badly txt me quickly im desperate
Hey can someone give me an example of a linear and a quadratic equation?
Audrey is buying a new car for $32,998 she plans to make a down payment of $4,200 she's to make monthly payments of $525 for the next five years what APR has sh
What safety measures can employers use when workers are on a supported scaffold more than 10 feet above the working surface?
Describe the role of patrons in renaissance art and literature.
Quantities or measured properties that are capable of changing values are called
Make a mapping diagram for the relation. {(-2, -6), (0, 3), (1, -5), (5, 0)}
Which of the following is equivalent to (n-3)(n-5) a. n2-8n+15, b. n2+8n-15, c. n2-15n+8