مثال برمجي 2 : Write a program to print the ASCII value of a character input by the user
- 2020-10-29
توصيف
السؤال من كورس ال Programming الخاص بي
Write a program to print the ASCII value of a character input by the user
الجواب:
/****************************************************************************************
Name : ex5.c
Author : Mohamed Elsayed
Description : Assignment 1 - Ex 5
****************************************************************************************/
#include
int main()
{
char c;
printf("Enter a character: ");
/* Reads character input from the user */
scanf("%c", &c);
/*