print out put like this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20
Answer Posted / sourav das
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k;
for(i=1;i<=6;i++)
printf("%d",i);
printf("\n");
for(j=3;j<=11;j=j+2)
printf("%d",j);
printf("\n");
for(k=8;i<=20;k=k+4)
printf("%d",k);
getch();
}
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is a protocol in c?
Explain how do you use a pointer to a function?
What is a spanning Tree?
How do I get a null pointer in my programs?
What is a function in c?
What is a program?
How do you do dynamic memory allocation in C applications?
What is c basic?
How do you redirect a standard stream?
Discuss the function of conditional operator, size of operator and comma operator with examples.
What is c language in simple words?
What is wrong with this declaration?
Where are local variables stored in c?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What is a far pointer in c?