Search Results

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: mathematician ; Forum: C and child forums
Forum: C Jun 27th, 2009
Replies: 11
Views: 625
Posted By mathematician
Well firstly, unless it is compiler specific, I have never seen %i before. A decimal integer is usually %d.

Secondly, given what you are doing, you presumably want the user to enter a positive...
Forum: C Jun 27th, 2009
Replies: 11
Views: 625
Posted By mathematician
#include <stdio.h>
#include <stdlib.h>

int main()
{
int number;
int sum;
int i;

printf("please enter the end number : \n" );
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC