write a programming in c language,
1
3 5
7 9 11
Answers were Sorted based on User's Feedback
Answer / shaik shafi
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k;
clrscr();
k=1;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d ",k);
k=k+2;
}
printf("\n\n");
}
getch();
}
Is This Answer Correct ? | 6 Yes | 6 No |
Answer / rehan
void main()
{
int i,j,k;
clrscr();
k=1;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d ",k);
k=k+2;
}
printf("\n\n");
}
getch();
}
Is This Answer Correct ? | 2 Yes | 4 No |
how do you redirect stdout value from a program to a file?
Explain the array representation of a binary tree in C.
main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
the format specified for hexa decimal is a.%d b.%o c.%x d.%u
When should we use pointers in a c program?
what is difference between null and nul in c language
please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch
#include<stdio.h> main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }
Explain what is wrong with this program statement? Void = 10;
any string of bits of length 'n' represents a unique non- negative integer between.............?
Write a program to know whether the input number is an armstrong number.