Write a program to find sum of first and last digit of a four
digit number given as input by user.
Answers
Answered by
1
Answer:
include<stdio.h>
main ()
{
int number, last_digit, first_digit, total;
printf (" Enter the number which is to be operated on: ");
scanf ("%d", &number);
last_digit = number % 10;
total = last_digit;
Answered by
0
452535894884894394eecgges ghd h i vi
Similar questions
Biology,
14 days ago
Art,
14 days ago
CBSE BOARD XII,
14 days ago
Political Science,
30 days ago
Science,
30 days ago
Math,
8 months ago
Hindi,
8 months ago