How to print all the 26 alphabets in this order in C.
AbCdEfGh.....
it should print dynamically from a to z and do not print
this using pgm like this print("Ab......");
Use loops or anything to print all alphabets
Answer Posted / jebarose
This can be done by using ASCII value...
ASCII value of A is 65
ASCII value of b is 98
Difference of Ab,Cd,Ef.(etc) is 33
A to C is 2.
This is the logic,while printing use %c,so tht it gets print
as Alphabets.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Write a program for Overriding.
Is c is a middle level language?
find the sum of two matrices and WAP for it.
What are the functions to open and close the file in c language?
What is %g in c?
difference between Low, Middle, High Level languages in c ?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
Why is c used in embedded systems?
Explain void pointer?
can anyone suggest some site name..where i can get some good data structure puzzles???
What is function in c with example?
Which header file is essential for using strcmp function?
Why is c so powerful?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is the stack in c?