Program:
Explanation:
#include<stdio.h> main() { int i; for(i=97;i<=122;i++) { printf("%c",i); } printf("\n"); }
- Here we declared an integer i.
- Now this program is same as printing numbers from 97 to 122.
- But if you can remember the "ASCII" values of 97 which resembles 'a' and 122 which resembles 'z' as in ascii sheet. To refer ASCII Values click here.
- So instead of "%d" if we use "%c" it is converted to ascii value.
factorial hundred In the last few days, the “factorial of 100” is one of the top subjects and a lot of maths geeks compute it using voice assistants such as Alexa, Shiri, etc.
ReplyDeletefactorial hundred In the last few days, the “factorial of 100” is one of the top subjects and a lot of maths geeks compute it using voice assistants such as Alexa, Shiri, etc.
factorial hundred In the last few days, the “factorial of 100” is one of the top subjects and a lot of maths geeks compute it using voice assistants such as Alexa, Shiri, etc.