answersLogoWhite

0

for (first=n; first>=10; first/=10);

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you know that a numeric is palindrome or not using c or pascal language?

Reverse the digits then check of the new number is the same as the original number.


Daimond print in c language?

puts ("Daimond");


How will you print percent in c language?

putchar ('%'); puts ("%"); printf ("%%"); etc...


Write an assembly language program to print a to z on screen?

write a program to print A to Z on screen in c?


How do you Write a program in 'c' language which accepts int numbers from the users print its reverse number x function which return value?

question clarity


C plus plus program to print sum of uppercase digits?

Good luck. I don't think it is possible, since there is no such thing called upper case digits.


How print the string with double cot in c plus plus language?

console.wrikerle("""");


How do you print strings and numbers in single statement by using C language?

With printf.Example:for (i=0; i


Why c in and c out used in c?

In the programming language C++, cin is used to input the variable and cout is used to print a certain message or result.


How do you find trendy number in C?

To find a trendy number in C, you typically define a trendy number as one that is a two-digit number whose digits sum to a specific value, often 10. You can use a loop to iterate through the numbers from 10 to 99, checking if the sum of their digits equals the target value. If it does, you can store or print that number. Here's a simple example: for (int i = 10; i < 100; i++) { int sum = (i / 10) + (i % 10); if (sum == 10) { printf("%d ", i); } }


You want to print the number in dscending order in c?

No, I don't.


How many keywords are there in c?

answer:32 programme to print factorial of a given number in c languages