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 the scope of static variable in c?
Can a variable be both static and volatile in c?
What are high level languages like C and FORTRAN also known as?
What is the difference between exit() and _exit() function in c?
What is the explanation for prototype function in c?
Write a program to print “hello world” without using semicolon?
What is a pragma?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What is #include cctype?
What does calloc stand for?
Explain what is meant by 'bit masking'?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Which driver is a pure java driver
What are pointers? What are stacks and queues?