Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?
Answer Posted / subhammondal551
#include<stdio.h>
#include<conio.h>
void main()
{
int i,sum=65;
clrscr();
printf("*");
for(i=1;i<=26;i++)
{
sum=sum+1;
printf("%c",sum);
}
getch();
}
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the different types of pointers used in c language?
What does 3 periods mean in texting?
What is an arrays?
Differentiate Source Codes from Object Codes
How to implement a packet in C
What is an lvalue in c?
What is volatile, register definition in C
How do you use a 'Local Block'?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
In C language what is a 'dangling pointer'?
What is console in c language?
What is the purpose of type declarations?
How can I convert a number to a string?
What is multidimensional arrays
What is static and auto variables in c?