Skip to content

Tag Archives: ASCII

Given a String str containing only lowercase English alphabets and an integer K. The task is to check that whether the string can be converted… Read More
Given a string, now as of we all know that the task is to check whether a string contains only alphabets. Now we will be… Read More
Given a string, the task is to find the average of ASCII values of characters in the string. Examples:   Input: str = "for" Output: 109… Read More
Alphabets in lowercase and uppercase can be printed using two methods, first is using ASCII values and second is to directly print values from ‘A’… Read More
Given a string of characters. The task is to write a program to print the characters of this string in sorted order using stack.  Examples:  … Read More
Given a non-empty string S of uppercase alphabets of length L and the task is to find the longest string from the given string with… Read More
Given a String str , the task is to check if the sum of ASCII value of all characters is a Prime Number or not.… Read More
Given a string S, we need to find reciprocal of it. The reciprocal of the letter is found by finding the difference between the position… Read More
Given a string containing words forming a sentence(belonging to English language). The task is to output the equivalent ASCII sentence of the input sentence. ASCII form… Read More
We are given a sentence of english language(can also contain digits), we need to compute and print the sum of ASCII values of characters of… Read More
Given a character, we need to print its ASCII value in C/C++/Java/Python. Examples : Input : a Output : 97 Input : DOutput : 68 Here… Read More
ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an ASCII code is the numerical representation of a character… Read More
Python ascii() function returns a string containing a printable representation of an object and escapes the non-ASCII characters in the string using \x, \u or… Read More
Given a string of lower case and uppercase characters, your task is to find the largest and smallest alphabet (according to ASCII values) in the… Read More

Start Your Coding Journey Now!