imesecan Nov.24.2012 at 12:22:49 PM
|
Big Barn (8)
| 8 posts |
| Сообщение скрыто |
imesecan Mar.09.2013 at 11:30:20 AM
|
Problem "Student Clubs" (2)
| 2 posts |
| Сообщение скрыто |
imesecan Mar.09.2013 at 10:21:34 AM
|
Problem "National Elections" (9)
| 9 posts |
| Сообщение скрыто |
imesecan Mar.09.2013 at 12:35:51 PM
|
Problem "Problem-1" (5)
| 5 posts |
| Сообщение скрыто |
Mar.09.2013 at 09:48:57 AM
|
Problem "Bitsorting" (0)
| 0 posts |
imesecan Feb.24.2013 at 05:40:39 PM
|
nth power of m (3)
| 3 posts |
| Post is deleted
|
Feb.23.2013 at 02:32:44 PM
|
Problem "Возрастающая последовательность" (0)
| 0 posts |
Feb.22.2013 at 02:24:50 PM
|
Problem "Question 2" (2)
| 2 posts |
|
|
Feb.17.2013 at 05:11:59 PM
|
Problem "Division" (0)
| 0 posts |
imesecan Oct.20.2012 at 10:55:31 AM
|
Problem "Frequency of Letters" (22)
Pages: (1) (2)
| 22 posts |
| Сообщение скрыто |
imesecan Apr.08.2011 at 04:03:10 PM
|
Problem "Inner Product" (2)
| 2 posts |
| Use printf command. Using printf you can decide the number of floating point digits. printf ("floats: %4.2f %+.0e %E \n", 3.1416, 3.1416, 3.1416); %f means: Print a floating point number. %4.2f means: Print the floating point number (the first number after the double quotation) totally in for space. and 2 digits after the floating point.
In our case you should use printf ("%0.1f", res); Then it will print res with 1 digit after the floating point. It says 0 there that means the total space is not important print the number as it's with one digit after the floating point.
|
imesecan Jan.19.2013 at 10:44:00 AM
|
Problem "Question 2" (4)
| 4 posts |
| Сообщение скрыто |
imesecan Jan.19.2013 at 10:22:39 AM
|
Problem "Question 1" (12)
| 12 posts |
| Сообщение скрыто |
imesecan Jan.19.2013 at 10:38:53 AM
|
Problem "Question 4" (5)
| 5 posts |
| Сообщение скрыто |
Jan.11.2013 at 07:11:30 PM
|
Problem "Triangular Numbers" (0)
| 0 posts |
Jan.10.2013 at 11:00:58 PM
|
Problem "Max number" (0)
| 0 posts |
imesecan Dec.27.2012 at 06:14:42 PM
|
Problem "Question 3" (3)
| 3 posts |
| Post is deleted
|
imesecan Dec.15.2012 at 10:35:14 AM
|
Problem "Question 1" (9)
| 9 posts |
| Сообщение скрыто |
imesecan Dec.15.2012 at 10:23:58 AM
|
Problem "Question 3" (19)
| 19 posts |
| Сообщение скрыто |
Dec.19.2012 at 09:55:39 PM
|
Problem "Series of Odd Numbers" (0)
| 0 posts |