#include <stdio.h>

int main() {
    //Structures
    //pointers
    //arrays
    //strings
    
    //get a number from a user check whether it is divisible
    //divisible by 4 and 6
    
    //create a array and get elements from the user
    //find the product of elements 
    
    //to find the length of string without using strlenn function
    
    // //first
    // int num;
    // scanf("%d",&num);
    // if(num%4==0 && num%6==0){
    //     printf("Number divisible by 4 and 6");
    // }else{
    //     printf("Number not divisible by 4 and 6");
    // }
    
    
    // //second
    // int n,i,product=1;
    // printf("Enter the number of Elements:%d\n",n);
    // scanf("%d\n",&n);
    // int arr[n];
    // printf("Enter Elements:%d\n",n);
    // for(i=0;i<n;i++){
    //     scanf("%d",&arr[i]);
    //     product*=arr[i];
    // }
    // printf("Product of Elements:%d\n",product);
    
    //third
    char str[100];
    int length=0;
    printf("Enter a string:");
    scanf("%s",str);
    while(str[length] !="\0"){
        length++;
    }
    printf("Length of string:%d\n",length);
    
return 0;
}