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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
Write a function so that the main program below can be replaced by the simpler code that calls function original main program: miles_per_hour = float( minutes_traveled = float( hours_traveled = minutes_traveled / 60.0 miles_traveled = hours_traveled * miles_per_hour print('miles: %f' % miles_traveled) sample output with inputs: 70.0 100.0 miles: 116.666667
Answers: 3
question
Computers and Technology, 22.06.2019 16:20
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
You know the right answer?
Write this in program C: *

*

***

**

*

I did...
Questions
question
Geography, 08.01.2021 19:40
question
Mathematics, 08.01.2021 19:40
question
History, 08.01.2021 19:40
question
English, 08.01.2021 19:40
question
Mathematics, 08.01.2021 19:40
Questions on the website: 13722359