answersLogoWhite

0

it is

int n=123;

printf ("%d", (n/10)%10);

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

Using only the digits 4 5 7 8 find the greatest product and the least product possible where one factor is a 3digit number?

4 x 578 = 2312 8 x 754 = 6032


Why does my Panasonic Fax Machine print a black line down the middle?

clean the head by using cotton.


Read a stringcount and print number of 'a's in the string?

To count the number of 'a's in a string, you can use the count() method in Python. For example, if you have a string my_string, you can get the count of 'a's by using my_string.count('a'). This will return the total number of occurrences of the letter 'a' in the string. Finally, you can print the result using the print() function.


To print the multiples of a given number using loops in c?

Yes, it is possible to do that.


You want to write a simple without using pointer or array c program which will print greatest number when you give 20 number?

i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?


How do you print first 10 even number using for loop in q basic?

For N = 1 to 10 Print 2 * N Next N


How do you print square using for loops?

how to print "square" using for loop


Which of the following function convert an object to a string in python?

By using "str()". Example: number = 2 yourNumber = print("Your number is %s!") % (str(number))


How do you print even number in qbasic?

In QBasic, you can print even numbers using a simple loop. For example, you can use a FOR loop to iterate through a range of numbers and then check if each number is even by using the modulus operator (MOD). Here's a sample code snippet: FOR i = 1 TO 20 IF i MOD 2 = 0 THEN PRINT i NEXT i This code will print all even numbers from 1 to 20.


By using awk programming how to count number of lines in a given file without wc command?

Use the following:awk 'END { print NR }'Awk will count the lines and print it out.


How do you make games using q basic?

RANDOMIZE TIMER rndNumber% = INT(RND * 100) + 1 winFlag% = 0 CLS PRINT "PROGRAM: Guess the number" PRINT PRINT "I'm thinking of a number between: 1-100. You've 7 guesses..." PRINT PRINT "Guess No" FOR eachGuessNo% = 1 TO 7 PRINT eachGuessNo%; "> "; INPUT "What is my number"; guessNum% IF guessNum% = rndNumber% THEN PRINT "Yes, correct guess; you WIN!" winFlag% = 1 EXIT FOR END IF NEXT IF winFlag% = 0 THEN PRINT "No, you guessed WRONG! I the computer WIN!" PRINT "My number was: "; rndNumber% PRINT PRINT "Again, Y/N"; yesNo$ DO yesNo$ = INKEY$ LOOP UNTIL yesNo$ <> "" IF UCASE$(LEFT$(yesNo$, 1)) = "Y" THEN RUN END


How do you get the answer using median?

Put all the numbers in order and the median is the number that is in the middle!