answersLogoWhite

0


Best Answer

#include<stdio.h>

#include<conio.h>

void main()

{

int

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: If a 4 digit number is input through keyboard Wap to obtain a sum of the first and last digit their number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which digit is used most often in the number 1 through 100?

the digit 0


If a five digit number is input through the keyboard write a program to calculate the sum of its digits?

If a five-digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits. For example if the number that is input is 12391 then the output should be displayed as 23402. //Author::Mudasir Yaqoob..... #include&lt;stdio.h&gt; #include&lt;conio.h&gt; int main() { long number,t; int i=0; long temp[5]; printf("Enter the five digit number:\n\n"); scanf("%ld",&amp;number); while(i&lt;=4) { t=number%10+1; temp[i]=t; number=number/10; i++; } printf("Reverse number\n\n\n\n"); for(i=4;i&gt;=0;i--) { printf("%ld",temp[i]); } getch(); }


Is 0 the smallest single digit number?

No, zero is not the smallest single didget number. There negative single digit number from -1 through -9


What 3 digit number multiplied by a 2 digit number equals a four digit number and you must use all numbers 1 through 9?

I think you r cheating Mr.Cheater


What is the term for any number 0 through 9?

A digit.


Where is card no on credit card?

The structure of the card number varies by system. For example, American Express card numbers start with 37; Carte Blanche and Diners Club with 38.American Express - Digits three and four are type and currency, digits five through 11 are the account number, digits 12 through 14 are the card number within the account and digit 15 is a check digit.Visa - Digits two through six are the bank number, digits seven through 12 or seven through 15 are the account number and digit 13 or 16 is a check digit.MasterCard - Digits two and three, two through four, two through five or two through six are the bank number (depending on whether digit two is a 1, 2, 3 or other). The digits after the bank number up through digit 15 are the account number, and digit 16 is a check digit.


What is a credit profile number?

Credit Profile Number - General term given to any nine digit or multi-digit number used to obtain credit. Examples of such numbers include the Social Security Number, the Taxpayer Identification Number, the Employer Identification Number, and the Credit Privacy Number.


Is there a smallest four digit number which is divisible by 1 through 7?

yes- the number is 1260.


How many 3 digit number have hundreds and ten digit that add up to 2?

5


What number system uses only the digit 0 through 7?

Octal.


How many two digit combinations for number 1 through 9?

44


I am a 4 digit number greater than 9000 what number i am?

All numbers 9,001 through 9,999.