Flowchart to code software needed

I would like to use Arduino as part of my teaching of programming/control to High School students. In order to do this, I really need to have access to software that will enable the students to create a flowchart and then for the flowchart to automatically generate the code. I have had a look at Flowol - which does the Flowcharts beautifully but won't generate the code.

Does anyone know of any software that can do this? I've searched for flowchart to C++ but had no luck there either.

Thank you

Debs

and then for the flowchart to automatically generate the code.

Personally, I think that this is a really bad idea. There is much to be gained from laying out a flowchart. There is much to be gained from converting a flow chart to code.

"Scratch" for Arduino

mblock ?