Avogadro's number is a constant. Therefore only one number is equal to Avogadro's number.
cho "Enter A Number :" read n r=n s=0 rem=0 while [ $n -gt 0 ] do rem=$(($n%10)) s=$(($s+$rem*$rem*$rem)) n=$(($n/10)) done if [ $r -eq $s ] then echo "The Number is Avogadro" else echo "The Number is Not Avogadro" fi
The .NET framework can only be used to write Windows programs using C#, F# and Visual Basic, whereas Java can be used to write programs for any supported platform.
write a c++program by using if statement to read a number and check whether it is positive or negative
You can write out this algorithm. This will then be programmed into the device to make determining prime numbers easier.
A programmer can write programs in C, but C can't write anything by itself.
You mean the calculators should write the programs? Well, they couldn't.
Earl Nightingale wrote and performed more programs in his career than most do in their lifetimes. His total number of performed programs was over 7,000.
That depends whether the number you wish to write is 706/10 or 700 6/10. In the former case, the number is written 70.6. In the latter case, the number is written 700.6.
Type your answer here... i think we should first enter 1 number then check it
In Java, the relevant lines would be something like this: for (int number = 1; number <= 10; number++) System.out.println(number, number*number, number*number*number);
write a program in C to check whether a given number is apalindrome or not
You cannot. Any computer, in normal usage, will store number only to a specified number of digits. You would have to write special programs to get around that.