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 I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
What is the most efficient way to count the number of bits which are set in a value?
What is meaning of "Void main" in C Language.
24 Answers Ford, GU, HCL, IBIBS, JUW, TCS,
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,
What will the preprocessor do for a program?
What are the different data types in C?
a c code by using memory allocation for add ,multiply of sprase matrixes
what does " calloc" do?
What is the use of in c?
How can you draw circles in C?
How to print %d in output