write the program to calculate the number of letters in a world
Answers
Answered by
1
Answer:
Explanation:
#include<stdio.h>
#include<conio.h>
#include<string.h>
int main()
{
char string[30];int l;
printf("enter word or sentences\n");
gets(string);
l=strlen(string);
printf("the length is %d",l);
getch();
}
Similar questions
Physics,
14 days ago
Physics,
14 days ago
Math,
14 days ago
English,
8 months ago
Computer Science,
8 months ago