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

Need help on number 5!
list a few things you see in this picture 1,2,3,4,5,​
If segment RS has endpoint R(5,1) and midpoint M(1,4), what will be point S?
What is the theme of the story why I lied to everyone In Highschool about knowing karate
How do I play my ps5 on my iMac without remote play, I don’t want remote play because it glitches so much and I don’t know how to fix it and I can’t find any ot
Kent Fuller is in the 26 percent tax bracket. A nontaxable employee benefit with a value of $2,400 would have a tax-equivalent value of: (Round your answer to t
2x³ +18x²+28x = 0 Use factoring to solve the polynomial equation
Name one major reason for the Ottoman empire’s decline
Please help me please help
Emperor who rebuilt Constantinople in the 6th century C.E.?