C Programming and Technical Programming Technical

integer i=0,j
while( i < 2 )
{
j = 0;
while ( j <= 3*i )
{
print j
print blank space
j = j + 3
}
print end-of-line //takes the cursor to the next line
i = i + 1
}
What will be the output of the program?

Read Solution (Total 7)

C Other Question

Write a program to print the nth prime number after a given number m.

Example 1: Given prime number m=3 and n=5. The program should print the 5th prime number afer 3
Given input
3
5
Expected output
17
void main()
{
float j;
j=1000*1000;
printf("%f",j);
}