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

Simplify the expression below by following the order of operations and combining like terms. Do not put spaces between characters. If your expression has more t
A house has increased in value by 35% since it was purchased. If the current value is S432,000, what was the value when it was purchased?
A bag of popcorn is placed in a microwave. After the first kernel pops, the number of kernels popped doubles every 30 seconds. If it takes exactly two minutes
957.55x8042x6/4x6=??
Sat Tranh took a short hike with his friends at hill . Each users They hiked a uphill at steady pace of 1.5 miles per hour and downhill at a rate of 4 miles per
How do I do this, I’m unsure how to go about it
in your judgement, what are the strongest arguments for the proposition that a new patent regime is needed that is primarily based on serving human needs rather
A program in c to compute T=2*a+√b+9c.
Solve the equation by working backward through the number trick.
how would I solve and what would the answer be?