Search
 
SCRIPT & CODE EXAMPLE
 

C

panagram in c

#include<stdio.h>
#include<conio.h>
void main()
{
    char str[100]="The quick brown fox jumps over the lazy dog";
    int i,value[26]={0},count=0;
    for(i=0;str[i]!='';i++)
    {
        if('a'<=str[i] && str[i]<='z')
        {
            count+=!value[str[i]-'a'];
            value[str[i]-'a']=1;
        }
        else if('A'<=str[i] && str[i]<='Z')
        {
            count+=!value[str[i]-'A'];
            value[str[i]-'A']=1;
        }
    }
    if(count==26)
    {
        printf("The String is a Pangram String.");
    }
    else
    {
        printf("The String is not a Pangram String.");
    }
    getch();
}
Comment

PREVIOUS NEXT
Code Example
C :: arr+1 vs &arr+1 
C :: [4,5,6] 
C :: using tables as arguments in c++/c 
C :: passage on dowry 
C :: Calculate the area of a circle and modify the same program to calculate the volume of a cylinder given its radius and height. 
C :: unity read text file line by line 
C :: putting character in the begginig and end of sring C 
C :: or gmode inline image 
C :: function of science writing of a number 
C :: c input is skipped 
C :: how to declare 3dimensional arrays in wiring 
C :: Sampoo C programming 
C :: perfect numbers in c 
C :: arduino ip to string 
C :: pre and post increment in c 
C :: visual studio code 
Dart :: underline text in flutter 
Dart :: remove appbar shadow flutter 
Dart :: flutter switch color 
Dart :: dart log to console 
Dart :: remove space from string dart 
Dart :: Flutter - BoxShadow Widget 
Dart :: remove menu icon from appbar flutter 
Dart :: dart card outline 
Dart :: flutter firestore read data 
Dart :: how to style a text button in flutter 
Dart :: flutter dictionary example 
Dart :: random colors for container flutter 
Dart :: flutter iOS & Android chnage package name & app name 
Dart :: flutter chip delete icon 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =