C program to find the length of a String without using function strlen()

#include <stdio.h> int main() { char str[100],i; printf(“Enter a string: \n”); scanf(“%s”,str); for(i=0; str[i]!=’\0′; ++i); printf(“\nLength of input string: %d”,i);

Read more

C switch case program to read weekday number and print weekday name

C switch case program to read weekday number and print weekday name This program will read weekday number (0-6) and print

Read more

graphics program for traffic light in C++

Here is traffic light program written in C++ using graphics.h header file. This program is Compiled using Turbo C++. /*Program for traffic Light*/

Read more