# Does anyone know what is wrong with this program?

**URL:** <https://discourse.processing.org/t/does-anyone-know-what-is-wrong-with-this-program/40012>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [December 3, 2022, 7:57pm UTC](https://discourse.processing.org/t/does-anyone-know-what-is-wrong-with-this-program/40012 "2022-12-03T19:57:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [December 3, 2022, 8:23pm UTC](https://discourse.processing.org/t/does-anyone-know-what-is-wrong-with-this-program/40012/2 "2022-12-03T20:23:28Z")

</div>

Hi @add,

What happens if you run your code in PDE ?  
Do you get any hints in the editor pane and/or console window ?  
Have you tried to follow these hints?

I would recommend that you go through your code (line by line) and try to add comments what each line is doing or what it should doing and what possible went wrong.

Don’t hesitate to come back if you have concrete questions…

Cheers  
— mnse

> [@Guidelines—Asking Questions](https://discourse.processing.org/t/guidelines-asking-questions/2147):
>
> Summary (TL;DR) Ask complete questions to get better answers! Be specific. For example: I want to load an image. I tried using createImg() , and I expected the image to be on canvas, but what happened instead was the image showing up below the canvas. Isolate your problem and work in small steps. Share only the code directly related to your problem if it is part of a bigger project, and if something isn’t working, try the smallest code that could do the thing you want. Can we run your code to …

---

_[View the full topic](https://discourse.processing.org/t/does-anyone-know-what-is-wrong-with-this-program/40012)._
