in Education by
converting for loop into while loop: for(i=1;i<n;i++) { for(j=1;j<=i;j++) printf(“%d”j); printf(“\n”); } Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
please please follow me

Related questions

0 votes
    int fun(int n) { if(n!=0) { return n – fun(n-5); } else { return n; } } int main(){ int n = 20, z; z = fun(n); printf(“%d”, z); } Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Q.32 :-What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile? ... y); return 0; Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    Write the following in while(): For (i=1;i =100;i++){Print( %d \ ,i);} (Will no one be able to solve ... as i am doing an exam now) Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    convert the following into For loop; while(true) System.out.print(‘*’); (in java ) PLEASE ANSWER FAST… WILL MARK BRAINLIEST** Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    (j) State the type of errors if any in the following statements: (i) switch ( n > 2 ) (ii) System.out.println(100/0); Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Suppose we run the multistage algorithm on the data of exercise 6.3.1, with the same support threshold of 4. ... set of candidate pairs Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
0 votes
    int find(int i) { if(>1) j=find(j/10)+(j%10) else j=0; return j; void main() int i=1000 int k k=find(i): printf(“%d”, K) Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    When we choose for loop and how it is deffernt from while loop Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    write a program to input a number and print table of the number using while loop Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    WHILE…LOOP is used when we know the number of iterations of a loop. True False Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Write error message given by C compiler during compilation if we use %d to print float variable Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
...