subject

Write this in program C: *

*

***

**

*

I did it like this:

#include

int main()

{

int n, i, j, x;

printf ("Unesi dimenziju:\n");

scanf ("%d", &n);

for (i=n; i>=1; i--)

{

for (j=i; j>=1; j--)

{

printf ("*>>1");

}

printf ("\n");

}

return 0;

}

The question is, how to do this problem in reverse (in program C language) so its like this?


Write this in program C:

***************I did it like this:#include int main(){ int n, i, j, x; p

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 14:30, binodkharal2048
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
image
Computers and Technology, 22.06.2019 18:40, penelopymorales24
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
image
Computers and Technology, 22.06.2019 20:00, jroy1973
Awide variety of “ apps “ are available to customize devices. which category of app does the word processing software fall into?
Answers: 2
image
Computers and Technology, 22.06.2019 20:50, ashiteru123
What is the difference between windows 7 and windows 10?
Answers: 1
You know the right answer?
Write this in program C: *

*

***

**

*

I did...

Questions in other subjects:

Konu
Mathematics, 01.07.2019 14:30
Konu
History, 01.07.2019 14:30