string name = ''; comefrom EndLoop if (name = '') printf("what is your name?\n"); gets(name); printf("Yo. %s\n", name) if (name <> ''); EndLoop: ;Yes, it's backwards and stupid. That's the CC programming language.
You do not understand the purpose of Common Core. It is to lower the difference between low and high achievers. It does this by lowering the high achievers, not by raising the low achievers.
Once this is understood, all will be clear.
That's great, post of the morning!!
Of course in the Common Core classroom the students aren't given any textbook about syntax, or program structure, or anything like that. Instead they are supposed to form groups and collectively write the program based on their own discovery of the underlying ideas. Assignments leading up to the first interactive program include writing essays on the names of early computer scientists who happened to be female or members of a government proclaimed group, and discussing how names can be sexist, racist, or whateverist.
And then the teacher will wonder why nobody in the class can actually write a program.
Meanwhile, the kids who actually want to learn to program will be working with some free development tools on $35 boards and having a great time.
So they will combine the readability of APL, the simplicity of Ada, the terseness of Cobol, and the easily understood interactive execution environment of Forth into the new learning language. It will simultaneously be un-writable, un-readable, un-debuggable and much more baroque and backwards than the original version, CC.
And then they'll hire the guys who wrote the Obamacare website to teach the course.
I thought CommonCore programming was a visual language with boxes and things.
Post #15 I recognize as old school “C” but this, I don’t know.
For any math solutions, I suppose the “random” number generator will be involved.