Computer Science, asked by smonu2580, 30 days ago

Write a program to find sum of first and last digit of a four

digit number given as input by user.​

Answers

Answered by bhavyasri4107
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 r1a9n7j9it
0

452535894884894394eecgges ghd h i vi

Similar questions