Sunday, March 19, 2023

"print the all character from 'A' to 'Z' using for loop" in c

 //print the all character from 'A' to 'Z' using  for loop


#include <stdio.h>
int main (){
    char cr;
for (cr='A';cr<='Z';cr++){
    printf ("%c ",cr);
}
return 0;
}

output output output output output output output output

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 

No comments:

Post a Comment

print a multiplication table of any integer taking from user

 // print a multiplication table of any integer taking from user  #include "stdio.h" int main () { int n,mul,i; printf ("...