“Program ASCII” Kod odpowiedzi

c Uzyskaj wartość ASCII Char

#include<iostream>
using namespace std;
int main ()
{
    char c;
    cout << "Enter a character : ";
    cin >> c;
    cout << "ASCII value of " << c <<" is :  " << (int)c;
    return 0;
}
Tough Teira

Program ASCII

# Python program to print
# ASCII Value of Character
 
# In c we can assign different
# characters of which we want ASCII value
 
c = 'g'
# print the ASCII value of assigned character in c
print("The ASCII value of '" + c + "' is", ord(c))
Annoyed Alpaca

Odpowiedzi podobne do “Program ASCII”

Pytania podobne do “Program ASCII”

Więcej pokrewnych odpowiedzi na “Program ASCII” w Python

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu