Question: please code them using Processing3.5.3 as shown on right side of photo.. see second photo if not clear enough sketch_200118a Processing 353 File Edit Sketch
sketch_200118a Processing 353 File Edit Sketch Debug Tools Help -2) 14. (20 marks) Write a plece of code that displays the following pattern on the console. Marks will be awarded only if a loop is used to schieve this. You may use whichever loop you'd like sketch_200118a 41 // int result = 15; 42//forint 3: 17:1 43 for int4 : 44 result 3 // 48 411 48 /println(result ); kas tot totalusi rt 110 31 ( 2 ) 32 for 10; 1=100; -) 33 60 55 50 45 40 35 30 25 $ total totale S ratin(total): Console Pe 12 A rs 15 (20) mars) Write piece of code that a fra 10 to 100 live on both whichever loogs you'd like for a whillos ll t wontent in h e total 14. (20 marks) Write a piece of code that displays the following pattern on the console. Marks will be awarded only if a loop is used to achieve this. You may use whichever loop you'd like 60 55 50 45 40 35 30 25 Page 12 15. (20 marks) Write a piece of code that adds all odd integers (integers are not divisible by 2) from 10 to 100 (inclusive on both sides) and stores the result in a variable total. You may whichever loop you'd like (for or while)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
