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

Factor. x2−4x+4 (x+4)2 (x−2)2
A quarter is 1/4 dollar. Noah has 20 quarters. How much money does he have? Explain
A baker uses 4 cups of flour for each cake. He has 213 cups of flour in his shop. How many cakes can he make, and how much flour is left over?
What is conflict ? 1. The main character story? 2.The struggle between forces in the plot 3.the character of force that brings complications to the plot 4.the
True or false? (Picture provided)
In order for ideas to be strong, they also need to be: funny complex clear unique modern
What was the battle of antieam named
Refers to the news and information role of communication media such as news media
Did eleanor roosevelt’s mother, brother and father die
What is formula of Potassium?​