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 psychology graduate student wants to test the claim that there is a significant difference between the IQs of spouses. To test this claim, she measures the IQ
Organize the angles from largest to smallest.
Which statement about the quantum mechanical solution for the hydrogen atom is correct?
I want solved answer question number 2
my college is the name of the central piedmont system that is the main point of access for online registration, financial aid resources, looking up your gpa, re
An antibody molecule is made of four polypeptide chains—two identical heavy chains and two identical and smaller light chains, with a total molecular weight of
4. we wish to determine if a certain diet is effective in helping weight loss. a random sample of 10 people is chosen to try the diet. their weights of before a
write a paragraph with vocabulary, vocation, advocate, convocation ociferouv's
What conclusion do these population pyramids best support
4 - Equacionando o problema, obtemos a seguinte equação do 2º grau. A idade de Juliana é: A) 12 B) 13 C) 14 D) 8