Ask your own question, for FREE!
Computer Science 14 Online
OpenStudy (anonymous):

.How to draw this flowchart? A program multiplies two numbers using repetitive addition. Create two separate flowcharts that multiplies two numbers using repetitive addition using these two structures: 1. Do-While or Do-Until Loop 2. While Loop

OpenStudy (anonymous):

I'm not sure are... do ifs have diamonds ?

OpenStudy (anonymous):

input 1, input 2 var a = 0 for x = 1 to (input 1) a = a + (input 2) display a

OpenStudy (anonymous):

<html> <input id="i1"><br> <input id="i2"><br> <input type = button value="add em up" onclick="addMe"><br> <script language=javascript> var a=0 function addMe() { var m = document.getElementById("i1").value * (-1) var n = document.getElementById("i2").value * (-1) for (x=1; x<= m; x=x+1) {a=a+n} alert(a) a=0 } </script> </html>

OpenStudy (anonymous):

how to convert that to picture???

OpenStudy (anonymous):

Don't do 1 to input 1. do "is input 1 equal 0?" and subtract 1 from input 1 with each addition

OpenStudy (anonymous):

Okay here is how you do a command: ``` x++ ``` |dw:1381826691802:dw|

OpenStudy (anonymous):

For conditional statement: ``` if (x == 0) { x++ } ``` |dw:1381826746365:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Breathless: Spooky witch but cute
6 hours ago 3 Replies 0 Medals
Arriyanalol: help
5 hours ago 10 Replies 2 Medals
Arriyanalol: @tinydinoUwU stop trying to find a argument u blad lil boy
1 day ago 5 Replies 4 Medals
Jaded012023: Please tell me what you all think of this song
8 hours ago 6 Replies 1 Medal
Arriyanalol: bro how
8 hours ago 2 Replies 3 Medals
Arriyanalol: cant wait for the new bluey movie in 2027
1 day ago 12 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!