The following program takes a string as input and prints number of letters and number of words present in the string. The following code is implemented using c.
printf("Enter a sentence : n");
printf("nNumber of letters present : %d",c);
printf("nNumber of words present : %d",c1+1);
Latest posts by Bikash Panda (see all)
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017
- DHT12 Interfacing with Raspberry Pi using Pi4J - June 19, 2017
- Send data using MQTT from Raspberry Pi with JAVA - June 12, 2017