count the length of a sentence
//HOW MANY LETTER ARRY
#include<stdio.h>
int main()
{
char a[100];
int i,c=0;
gets(a);
//scanf("%s",a);
for(i=0;a[i]!='\0';i++)
{
c=c++;
}
printf("%d",c);
return 0;
}
<?php // Start the session session_start(); ?> <!DOCTYPE html> <html> <head> <link rel=&q...
No comments:
Post a Comment