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

What is tan c as a simplified fraction and what is sin b as a simplified fraction?
What did muckrakers try to do? A. Develop technological advances during the age of invention. B. Sell manufactured goods during the industrial revolution. C. Re
what is GCF of 18 and 30
What did the area bordering lake superior lack in population density that each of the other Great Lakes had?
the square root 5 lies between which two whole numbers
find the measure of angle B for the triangle shown. m
Based on his speech, in act 3.2 of the tragedy of julius caesar, which word does not describe mark antony? A)manipulative B)dramatic C)emotional D)calm
1. California sea lions can swim as fast as 40.0 km/h. Suppose a sea lion begins to chase a fish at this speed when the fish is 60.0 m away. The fish, of course
ASAP PLEASE - (King Arthur's knights)The general perception of Lancelot is that he is _[blank]_. a. perfect b. lonely c. injured d. mean
List the three ways that an individual qualifies for Medicare.