MSK Technologies

Home
Practice Programs
Java Programs Python Programs Java Quiz
Pages
Python Java Material PLSQL Material
Search A Job

Write a C-program to print ASCII values of Numbers using while loop?

  1. Home
  2. C Language Programs

Write a C-program to print ASCII values of Numbers using while loop?

Write a C-program to print ASCII values of Numbers using while loop


#include <stdio.h>
int main() {
    char ch='0';
    while(ch<='9')
    {
         printf("\n %c = %d",ch,(int)ch);
         ch++;
    }
    return 0;
}

Output:


0 = 48
1 = 49
2 = 50
3 = 51
4 = 52
5 = 53
6 = 54
7 = 55
8 = 56
9 = 57




More Programs


76 . Write a C-program to print ASCII values of Numbers using while loop
77 . Write a C-program to print 1 to 10 values using do while loop
78 . Write a C-program to print 10 to 1 values using do while loop
79 . Write a C-program to print 1 to n values using do while loop
80 . Write a C-program to print even numbers using do while loop
81 . Write a C-program to print even number or odd number based on the n value using do while loop
82 . Write a C-program to print even number or odd number based on the n value using single do while loop
83 . Write a C-program to count the number of divisible numbers in a given range(1-100) using do while loop
84 . Write a C-program to print factorial number using do while loop
85 . Write a C-program to print factorial of n numbers using do while loop
86 . Write a C-program to print sum of natural numbers using do while loop



Apply For The Job

Apply For Job

Java Material

Python Material

PLSQL Material

.Net Material

Java Practice Programs

400 Java Programs

Java Practice Programs

Write a java Program to check the given number is Palindrome or not

Write a Java program to check whether Java is installed on your computer or not

Write a Program to remove duplicate element in an array

Write a Java Program to Find the sum of the digits of a number

Write a Java Program to Check if a Number is Positive, Negative or Zero.

Python Practice Programs

Write a python program to adding a thousand separator

Write a python program to merge nested lists ?

Write a Python program to display the first and last colors from the following list.

Write a Python program that checks whether a specified value is contained within a group of values.

Write a Python Program to Find Factorial of Number Using Recursion.

Java Quiz

Java Quiz - 8

Java Quiz - 23

Java Quiz - 3

Java Quiz - 6

Java Quiz - 21

Courses
Java Python PLSQL .Net ADO.Net About Us
Quick Links
Daily Use English Sentences Daily General Knowledge General Knowledge Latest Update Inventions and Inventors జనరల్ నాలెడ్జ్ General Knowledge Spoken English Spoken Hindi GK Hindi Telugu Facts Unknown Facts Psychology Facts Motivation Quotes విటమిన్ - సి,డి,ఇ,కె Android
Spiritual
రాధాకృష్ణ భగవద్గీత Motivation Quotes Slokas Talapatra Nidhi ఆధ్యాత్మిక భక్తి ప్రపంచం Sadhguru Sai Motivation Quotes గౌతమ బుద్ధుడు Bhagavad Gita Quotes
Newsletter

Dolor amet sit justo amet elitr clita ipsum elitr est.

© sateeshm, All Right Reserved. Designed By sateeshm
Home Help FQAs