Hi,
I am teaching c++ programming and one of the parallel things I am trying to transmit is the importance of not only a clear logic but also of a readable code, which includes proper indentation. In spite of the many ways to indent code that are present in emacs, vscode , etc, or even using simple tools like clang-format , students still manage to create and present code which is just not organized, putting everything at the same 0 spaces level or similar. Since sometimes I give them a template to work on, I want to mess with it by removing proper indentation automatically, so I would like to know if there is a way to "random indent" a file in emacs, like adding four space to one line, then zero spaces to the next line, then two and so on, so they will be forced to organize it.
Thanks