I'm knew to programming so I hope somebody can explain the basic to me
I'm suppose to build a syntax diagramm with
"While (true) print("Hello") While (x <10) {x++;print(x);} While (5==y) print(y);"
b) Do other syntax diagrams need to be adapted?
I don't understand how it suppose to look like Do you really have to add all 3 whiles into the syntax diagram or do you make 3 seperat synxtax diagram ?
We went through syntax diagrams but I don't know how it suppose to look like with print . so can somebody give me an example to that I can learn how it suppose to look like Is there a site there I can learn more about it ?
Thanks a million time