Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 13:00, cookie1701
Why the bear has a slunky tail determine the meaning of the word slunk in the story
Answers: 1
image
Computers and Technology, 23.06.2019 18:40, cyn95xx
Johnson enterprises uses a computer to handle its sales invoices. lately, business has been so good that it takes an extra 3 hours per night, plus every third saturday, to keep up with the volume of sales invoices. management is considering updating its computer with a faster model that would eliminate all of the overtime processing.
Answers: 2
image
Computers and Technology, 24.06.2019 14:30, thelordoftheknowwjo4
In a home that has 120 v service, there is an electric appliance that has a resistance of 12 ohms. how much power will this appliance consume? a. 10 w b. 120 w c 1200 w d. 1440 w
Answers: 1
image
Computers and Technology, 24.06.2019 16:00, miner12924owhu4d
5.a fishing rod is formed from a composite material of 0.5 kg of glass fibers embedded in a matrix of 0.5 kg of epoxy resin. the glass fibers are assumed to be long, continuous and unidirectional. to achieve a greater stiffness it is proposed to use a different composite that is comprised of long continuous carbon fibers that will be embedded in a matrix of 0.5 kg of epoxy resin. if the modulus of elasticity of the carbon fiber composite is 10% greater than the elastic modulus of the glass fiber composite, estimate the mass of carbon fibers that will be used to make the carbon fiber composite. assume the applied tensile stress is parallel to the direction of the long axis of the fibers. the epoxy resin, glass fiber, and carbon fiber have an elastic modulus of 5, 86, and 350 gpa respectively and a density of 1100, 2500, and 1800 respectively.
Answers: 3
Do you know the correct answer?
Write this in program C: *

*

***

**

*

I did...

Questions in other subjects:

Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
English, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01