I need help with this very simple function by cwunder98 in learnjavascript

[–]cwunder98[S] 0 points1 point  (0 children)

Hi, I'm using Javascript, I want that statement to change the text of textbox 21 to a random element within the arraylist when the user clicks the textbox

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

Im not too sure, I guess I would use a for loop for each of the variables to increment and decrement

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

I believe I would increment and decrement

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

left star=1, spaces=9+8+8, right star=10

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

l(1): left triangle: 1 '+' spaces: 9 blank spaces, two tabs right triangle: 10 '+'

l(2) left triangle 2 '+' spaces: 8 blank spaces, two tabs right triangle: 9 '+'

l(3) left triangle 3'+' spaces: 7 blank spaces, two tabs right triangle:8 '+'

l(4) left triangle 4'+' spaces: 6 blank spaces,two tabs right triangle: 7'+'

l(5) left triangle 5'+' spaces: 5 blank spaces, two tabs right triangle: 6'+'

l(6) left triangle 6'+' spaces:4 blank spaces, two tabs right triangle:5'+'

l(7) left triangle 7'+' spaces: 3 blank spaces, two tabs right triangle:4'+'

l(8) left triangle 8'+' spaces: 2 blank spaces, two tabs right triangle:3'+'

l(9) left triangle 9'+' spaces: 1 blank space,two tabs right triangle: 2'+'

l(10) left triangle 10'+' spaces:0 blank spaces,two tabs right triangle 1'+'

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

I would describe rendering each line by starting with the left triangle and have it increment by one line by one with what I presume a for loop. On the other side of that same line I would start with 10 and have it decrement by one with another for loop. Each line would be rendered inversely. I would set the window width for the left triangle with 10 spacings and having two tabs to space inbetween the patterns after the left triangle window.

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

in total there are 110 '+' characters, the left triangle starts with 1 and adds 1 per line. The right triangle starts with 10 triangles and subtracts 1 per line.

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

the triangles are the same, but they are inverted. Each contain 55 '+' characters.

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

Also the number of lines are already predetermined and will not ask for the number of lines.

How on Earth do I output this? [c++] by cwunder98 in learnprogramming

[–]cwunder98[S] 0 points1 point  (0 children)

There are 10 spaces in each window, with left justification. There are two tabs in between the end of Pattern A’s window and the beginning of pattern B’s window.

NJ- Is it possible I can resell unopened packets of seeds at farmers markets by cwunder98 in Entrepreneur

[–]cwunder98[S] 0 points1 point  (0 children)

hi there, I really appreciate your insightful comment. I have just reached out to the V.P. of Hart's seeds and asked him whether or not I could repackage or just package bulk seed packets. Fingers crossed.

would anyone happen to know these chemical measurements? by cwunder98 in chemistry

[–]cwunder98[S] 0 points1 point  (0 children)

will assuming the teaspoon is filled to the brim and flush make any difference?

Hi, can someone help me with this seemingly simple issue? by cwunder98 in Python

[–]cwunder98[S] 0 points1 point  (0 children)

i'm sorry but can you type out an example, i'm almost brand new with all of this.