
Question
Accept The Character and Print the Corresponding ASCII value
Sample TestCase Expected Output
1. AA:65
2. ZZ:90
Answer
#include <stdio.h>
int main(){ char ch; scanf("%c",&ch); printf("%c:%d",ch,ch); return 0;}
All the news and updates relevant to Engineering. You can also Write a post here

#include <stdio.h>
int main(){ char ch; scanf("%c",&ch); printf("%c:%d",ch,ch); return 0;}
Hello My Name is DP Learn Engineering with Subscribe us to get Notified about New Post
Learn More →
This comment has been removed by a blog administrator.
ReplyDelete