kandelhira20
kandelhira20 kandelhira20
  • 24-06-2021
  • Computers and Technology
contestada

WAP TO ENTER ANY THREE DIGIT NUMBER AND PRINT SUM OF EACH DIGIT​

Respuesta :

mahi27
mahi27 mahi27
  • 24-06-2021

Answer:

Program to accept a three digit number & print the sum of individual digits of Given Numbers

  • # include <stdio.h>
  • # include <conio.h>
  • main( )

{

int a,b,c,n, sum;

  • clrscr( );
  • print from (“ Enter a Three Digit Number:“);
  • scanf (“%d”,&n);

Answer Link

Otras preguntas

Which of the following best describes hydrocarbons? a. Alkanes in which a hydrogen atom is replaced by a hydroxyl group b. Binary compounds of carbon and
Magnesium unites completely and vigorously with oxygen to form magnesium oxide, which contains 60% magnesium by weight. If 1.00 gram of magnesium is sealed in a
Natural resources are not required for all energy producing technology Please select the best answer from the choices provided OT OF
4 × (2a − 1) if a = 3?
2x/29 hi there how are you
Write the equation of a line that is parallel to x=-5 and passes through the point (1,4)
Ciara is making a new dance outfit. She need 2 ½ yards of fabric the shawl. She needs 1 ¾ yards of fabric for the dress. If she needs 3 yards of fabric, how muc
Bryan drives at an average speed of 60 miles per hour. At this rate, it will take him 3 hours to drive miles.
Does anyone know this need help
Select the best answer for this dialogue. -Doctor: Hola. Sebastián. -Young child Sebastián: Buenas tardes, doctor. -Doctor Sebastián? -Young child Sebastián: Es