Prints the hundreds digit in two integers , Computer Engineering

Write an application that prints the hundreds digit  in two integers read from the keyboard. For example if the data values are 1456 and 255 respectably, output should include the original number followed by the digit in the hundreds position labeled your output appropriately.

Hint : Use value - returning method that requires the number passed as parameter and  return the hundreds digit.


  • Use a value-returning method that requires the number passed in as a parameter, and will return the hundreds digit.
  • Use the operators % and /. For example, 1456 % 1000 is 456, and 456 / 100 is 4.


Posted Date: 3/13/2013 8:50:26 AM | Location : United States

Related Discussions:- Prints the hundreds digit in two integers , Assignment Help, Ask Question on Prints the hundreds digit in two integers , Get Answer, Expert's Help, Prints the hundreds digit in two integers Discussions

Write discussion on Prints the hundreds digit in two integers
Your posts are moderated
Related Questions
Q Convert the following DECIMAL numbers into HEXADECIMAL, double check by converting the result HEXADECIMAL to DECIMAL. a)    24 b)   547.56

Q. Explain what is Internal Modems ? Internal Modems: Internal Modems plug in expansion slots in your PC. Internal Modems are efficient andcheap. Internal Modems are bus-specif

Question: (a) Explain clearly the difference between J-cuts and L-Cuts. (b) What is the function of the rate stretch tool? (c) What's the difference between an Image Matt

Q. Show Error detection mechanism? Error detection mechanism can be described as below: Figure: Error detection and correction

super ascii string checker

Define Process. Process: It is a program in execution; process execution should progress into sequential fashion. Process contains: program counter stack dat

function nor gates W=A,B,C,D=~(AB)*~(CD)

What are the features of ADO.Net ?  ADO.NET features: 1. Disconnected Data Architecture 2. Data cached in Datasets 3. Data transfer in XML format 4. Interaction wit

Explained RAID? Ans: High performance devices tend to be costly. So we can gain very high performance at a reasonable cost using a number of low-cost devices operating in paral

Give an intuitive explanation of why the maximum throughput, for small beta, is approximately the same for CSMA slotted Aloha and FCFS splitting with CSMA. Show the optimal expecte