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

How did Thoreau's "Civil Disobedience" pave the way for significant events later in history?
what is two thirds times 70%
PLEASE HELP !!!!!!!!!!!!!!!!!!!!!!!QUESTION ATTACHED
Which decimals are less than –2.08? Choose all answers that are correct. A. –8.04 B. –2.5 C. –0.7 D. 3.16
Water moves from Earth's surface to the atmosphere and back to Earth's surface again in a process known as the water cycle. Which of the following is the major
raphael paid $158 for a camera during a 75% off sale. what was the cameras regular price?
Look at the equation below. O2 + CS2 → CO2 + SO2 Which of the following shows the equation balanced? A. 3 O2 + CS2 → CO2 + 2 SO2 B. 3 O2 + CS2 → 2 CO2 + SO2 C.
what is (3x-2) - (4x+1)
A subject with at least two parts joined by and, or, or nor is __________.
What change of states of matter is this? A warm wind makes snow on the ground seem to disappear, but no puddles form.