answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How write a program to input any number and display digits which are absent in given number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program in java to enter 3 digits or more arrange the digits of the entered number in ascending order and display the result?

public static void main(String[] args) { int val = 100; int val1 = 50; System.out.println("Number of digits in " + val + " is: " + new String(val + "").length()); System.out.println("Number of digits in " + val1 + " is: " + new String(val1 + "").length()); }


What can a decrease decimal tool do in excel?

It reduces the number of digits after the decimal point in the display, rounding the number as appropriate.


What is the largest prime number in digits?

As of January 25, 2014, the largest known prime number was calculated to be 257,885,161 − 1; a number containing 17,425,170 digits. This is, of course, too large to display.


Write a program which takes any number of days from the user the program should display the number of years number of months formed by these days as well as the remaining days?

Write a program which takes any number of days from the user. the program should display the number of years, number of months formed by these days as well as the remaining days.


Does a calculator display the exact values of all irrational numbers?

No. An irrational number is one that does not repeat or finish, and a calculator cannot display millions of digits like an irrational number would have.


How many times a day does a digital clock display digits whose sum total equals the number of led's used to display them?

A 24 hour clock displays digits whose sum total equals the number of led's used to display them 94 times a day. A 12 hour clock displays them 108 times a day.


Write a Shell program to find the sum of cube of individual digits of a number?

no thanks


Write a program to display the name of days when a user enters a number?

write a program to display your name age class schoolname e-mail 2hobby based on choice


Why is it sometimes when you add 2 numbers in scientific notation in your calculator the result is just greater of the two numbers?

This happens because the contribution of the smaller number is lost in the trailing decimal digits. Suppose you had a calculator that could display 10 digits. Suppose you tried to add 123,456.789 and 0.000 000 12 The true answer is 123,456.789 000 12 but, since you can only display 10 digits, the answer shows as 123,456.7890 which is the larger number. The exact details will depend on the number of displayed digits.


How do you make a program that counts how many times each digit occured in the integer?

To count the number of times a digit occurs in an integer, start by initializing an array of ten counts of digits, such as int digits[10];Then, in a loop while the number is non zero, increment the element in the digits array that corresponds to the units digit, and then divide the number by ten, such as digits[number%10]++ and number/=10;int digits[10];int i;int number = some number;for (i=0; i


What is the largest number you can actually calculate?

There is no upper limit to numbers, there are some astronomical numbers with more digits than the universe has atoms (See Graham's number) used in math. On many calculators, the largest number it can calculate is limited by the number of digits your calculator can display. If it can display 12 digits, the largest number you can calculate on it is 999,999,999,999. The scientific calculators which support scientific notation can usually calculate numbers up to 9.999999 x 1099. Some high-tech ones can go up to 9.99999 x 10999. On the other hand, I use a professional program used to crunch numbers and the largest number it says it can express is 1.920224672692357 x 10646456887 (or 22147483296). Not that I think I would need to use such a large number any time soon.


How do you Calculating percentage in excel that is less than 1?

Your question is a little vague, but it sounds like a display issue. Specifically, it sounds like you have your number display set to show zero digits past the decimal point. Simply select the cell you're interested in reformatting, click on Format/Cells/Number/Percentage and make sure you have it set to display at least one (if not more) decimal digits.