fork download
  1. #include<stdio.h>
  2.  
  3. int main () {
  4.  
  5. char big_alphabet, small_alphabet;
  6.  
  7. scanf("Enter an uppercase character: %c", &big_alphabet );
  8.  
  9. small_alphabet = big_alphabet + 32;
  10.  
  11. printf("Lowercase of Entered character is %c", small_alphabet );
  12.  
  13. printf("Position of '%c' in English Alphabets is %d", small_alphabet, small_alphabet-96 );
  14.  
  15. return 0;
  16.  
  17. }
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
Lowercase of Entered character is  Position of ' ' in English Alphabets is -64