| | |
adding from 0 to a number that will be entered by the user .
Thread Solved |
•
•
•
•
%i and %d are equivalent. both of them specify the format for a signed decimal integer, and either are acceptable to use
for "scanf()", the %d and %i are subtly different ... %d requires a decimal (base 10) integer input, while %i assumes decimal by default, but will also read number as octal if it is prefixed by '0', or hexadecimal if prefixed by '0x' or '0X'
Last edited by jephthah; Jul 3rd, 2009 at 12:06 am.
•
•
Join Date: Nov 2008
Posts: 90
Reputation:
Solved Threads: 8
the meaning of
is same as the
C Syntax (Toggle Plain Text)
sum+=i;
C Syntax (Toggle Plain Text)
sum=sum+i;
![]() |
Similar Threads
- Displaying Prime Number (C#)
- How to sum cubes and squares of the number input by the user (C++)
- counting number of letters in the strings entered by the user (C++)
- help in function to return the number of items greater than certain number (C++)
- Please help! Sudoku in C (C)
- Trying To Find The Square Root Of Each Number Of A Array (C++)
- Loop program help (C++)
- Applet Help (Java)
- Mortgage Program help (Java)
Other Threads in the C Forum
- Previous Thread: help to work on structures..
- Next Thread: extract multidigits from a char* (substring)
| Thread Tools | Search this Thread |
#include adobe api array arrays asterisks binarysearch calculate char cm copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile createprocess() csyntax database directory dynamic feet fflush fgets file fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o include incrementoperators input interest kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix meter microsoft motherboard mqqueue mysql number odf open openwebfoundation owf pattern pdf performance pointer posix probleminc process program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling segmentationfault send sequential shape socket socketprograming stack standard string systemcall turboc unix user voidmain() wab win32api windows.h






