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

Write the Excel functions for the following:
Someone please help thank you
y=x^2+13 is is linear or non linear
Which major city is not in the Southeast region? O Washington, D.C. O Atlanta O Pittsburgh O New Orleans
The ratio 15 inches to 6 ft in simplest form is?
I am flat, with many layers, and allow materials to pass via diffusion. What type of tissue am I? Simple Cuboidal Epithelium Stratified Squamous Epithelium Stra
If f(x)=x^3+3, what is the sum of f(-2) and f(0)? A. 10 B -2 C -1 D 7
Choose the word that means “came down” A) Descended B) Dragged C) Mounted D) Settled
In order for a matrix to be inverse, what must be true?
what learning options can i take part in during high school?​