1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ad libitum [116K]
2 years ago
8

Print numbers 0, 1, 2, ..., userNum as shown, with each number indented by that number of spaces. For each printed line, print t

he leading spaces, then the number, and then a newline. Hint: Use i and j as loop variables (initialize i and j explicitly). Note: Avoid any other spaces like spaces after the printed number. Ex: userNum = 3 prints:
0
1
2
3
(each number is one tab over from the last but formatting on Brainly wont allow that)


#include


int main(void) {

int userNum;

int i;

int j;


scanf("%d", &userNum);


/* Your solution goes here */


return 0;

}
Computers and Technology
1 answer:
geniusboy [140]2 years ago
8 0

Answer:

Please find the answer below

Explanation:

// Online C compiler to run C program online

#include <stdio.h>

int main() {

   // Write C code here

   //printf("Hello world");

   int userNum;

   int i;

   int j;

   

   scanf("%d", &userNum);

   /* Your solution goes here */

   for(i = 0; i<=userNum; i++){

       for(j = 0; j <= i; j++){

           printf(" ");

       }

       printf("%d\n", i);

   }

   return 0;

}

You might be interested in
Which command suppresses the visibility of a particular row or column in a worksheet?
Gwar [14]

Answer:

Hide command suppresses the visibility of a particular row or column in a worksheet

Explanation:

Hide command is used to hide the row or column in an excel worksheet. To suppress the visibility of a particular row or column in a worksheet, you have to select that particular row or column and then right-click on column or row header. A popup screen will appear as like when you refresh the computer. Then on this screen, at the bottom, you will find the hide command, click the hide command. And, as you click the hide command that particular row or column will become invisible. if you want to show it again, click the Unhide command. Therefore, hide command suppresses the visibility of a particular row or column.

Why other options are not correct

Autofit

Autofit command is used when you want that a particular cell of row or column to automatically adjust / or accommodate the content. Autofit command does not affect the visibility of a row or column.

Insert

Insert command is used to insert contents in a particular worksheet. Insert command is based on groups of various commands such as inserting tables, charts, graphs, text, symbols, add-ins, sparklines, and links.

Replace

Replace command is used in excel to replace the text with some other text. If you want to replace some text with some other text, then you have to use the replace command.

8 0
3 years ago
What is a deny all catch all
a_sh-v [17]

Answer: The default catch-all rules at the end of  are: block in log quick all label "Default block all just to be sure." block out log quick all label .

Explanation:

7 0
3 years ago
In 3–5 sentences, explain how telecommunications technology helps workers do their jobs more efficiently.
Anvisha [2.4K]
Technology helps business professionals, keep more organized, communicate better, and efficiently keeps businesses secure. Technology helps keep employee information and business paper work more organized using computers and software; while making it easier to communicate with employee's using e-mail and memo's. With better alarm systems, camera's and online banking, security measures are endless. 

Hope this helped :)  <span />
4 0
3 years ago
Which function deletes the first occurence of 3 in a list named listB ?
Stella [2.4K]

Answer:

listB.remove(3)

Explanation:

Given

Options A to D

Required

Which deletes the first occurrence of 3

The options show that the question is to be answered using the knowledge of Python.

So, we analyze each of the options using Python syntax

(a) listB.clear(3)

In python, clear() is used to delete all elements of a list, and it does not take any argument i.e. nothing will be written in the bracket.

<em>Hence, (a) is incorrect</em>

(b) listB(3)

The above instruction has no meaning in Python

(c) listB delete(3)

The above instruction as written is an invalid syntax because of the space between listB and delete.

Also, it is an invalid syntax because lists in Python do not have the delete attribute

(d)\ listB.remove(3)

This removes the first occurrence of 3

5 0
3 years ago
Is displayed above the windows start menu separator line, where they are always available for you to click to start?
tatyana61 [14]
How to get to start, or what is there on start?
6 0
3 years ago
Other questions:
  • TRUE OR FALSE!!!!!
    10·1 answer
  • What is the best anime that you like the most (give me 3 plz)
    7·2 answers
  • How do I attach a file on the computer?
    13·1 answer
  • An educational institution has a number of buildings in the campus. Each building has its own independent network system, and al
    6·2 answers
  • Which Ribbon contains the paragraph attributes?<br><br> Home<br> Insert<br> Review<br> View
    8·2 answers
  • Adding transitions to slides in a presentation.
    6·2 answers
  • As a digital strategist, Jared wants to add something extra to his ads to give users more incentive to click and convert. He's c
    11·1 answer
  • A(n) ____ is software that can be used to block access to certain Web sites that contain material deemed inappropriate or offens
    11·1 answer
  • 2. Which one of the following is not a feature of technology?
    10·1 answer
  • कम्प्युटर को पहिलो पुस्ता भनेको के हो?​
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!