| נשלח בתאריך: 24 May 2009 בשעה 22:15 |  | IP רשוּם
		     |  
  | 
                    
            		  
           | 
           
          
           
  | 
           
          
תודה גד לגבי סעיף ב האם הכוונה הינה : 
_אני חושב שטעיתי במשהו אבל רק תאמר לי לגבי הכיוון  
[code] 
#include <stdio.h> #include <stdlib.h> #include<math.h> #include<string.h> 
  
void main () { char str[40]; int len,i; int maxlen=0 ,substr=1; printf("enter a numeric string (40);"); gets(str); len=strlen(str); for(i=0;i<len;i++) //check string include number if(str<'1' || str  >'9') { printf("error //invalid string //"); return ; } printf("enter a char "); scanf("%c",&ch); if (string-ch ==1) n++; else
  
[code/] 
         |