Start with 2000 of P then add 1000 of S an at the end add 1000 of I mix it very good .After about 45 days you will have 4000 p,s and I which stand for 4000 PSI
If you add up all the digits, A has the value 8.
public class Add { public staticvoid main(String[] args) { int value=12; intcount=0; int sum=0; while(count
Add the last digit plus the sum of all the previous digits. The base case is that if your integer only has a single digit, just return the value of this digit. You can extract the last digit by taking the remainder of a division by 10 (number % 10), and the remaining digits by doing an integer division by 10.
interfacing
717
All multiples of 3 have digits that add up to a multiple of 3. There are 333 multiples of 3 between 1 and 1000.
start at 508 and add 10 until you reach 998. also include 580 680 780 and 980.
All multiples of 3 have digits that add up to a multiple of 3. There are 333 multiples of 3 between 1 and 1000.
14 666/1000. Just add as many zeros in the denominator (in this case 3) as there are digits after the decimal point.
20 number
500. You add 1 + 1000. Divide by 2, then estimate to the nearest whole number.
Assuming you mean digits and not didgets, the answer is 6.
1000 times
139
The correct answer is: 1000+40+1000+30+1000+20+1000+10 = 4100
384