السلام عليكم ورحمة الله وبركاته
هذا برنامج ترسله string ويحسب لك عدد الحروف الكبيره والصغيره والرموز
البرنامج طلع كله بدون اخطاء بس حاولت تنفيذة مانفذ؟؟؟؟
#include
#include
void count(char [],int*,int*,int*,int*);
int main()
{
int k,m,p,e;
char string[80];
printf("Enter strnign");
gets(string);
count(string,&k,&m,&p,&e);
printf("The string is = %sn");
printf("The number kabtl=%d smaal=%d punct=%d else=%d",k,m,p,e);
return 0;
}
void count(char s1[],int *k,int *m,int *p,int *e){
int i=0;
*k=*m=*p=*e=0;
while(s1!='