I can't understand anything of your code. At first I thought it was C++ but I don't remember being taught about an assigning operator with semicolon in it. Aside from the contents of m and p the rest looks like gibberish - without any reference what to do with m and p you can't have a "for" loop. There should be any kind of equasion to tell the computer how to use these values outside of the loop, otherwise it will just jump to the loop in most cases.
If you wanna do programming, I'd recommend you choose C# (C Sharp) because it's a lot easier than C or C++. These two are about half a second faster in executing than C# but they're a lot harder to learn and kinda getting obsolete. Nowadays a lot of sotware is being written in C#, like Windows 10, for instance - a lot of its code, if not all of it, was written in C#.
Why I think C# is easier? In C or C++ you have a line like this to tell the computer to display a message: print or printf("Your message"). While in C# even a non-programmer can recognize the message command: WriteLine("Your message"); Or Console.WriteLine("your message"); if you're writing a program for the command prompt.
If you wanna do programming, I'd recommend you choose C# (C Sharp) because it's a lot easier than C or C++. These two are about half a second faster in executing than C# but they're a lot harder to learn and kinda getting obsolete. Nowadays a lot of sotware is being written in C#, like Windows 10, for instance - a lot of its code, if not all of it, was written in C#.
Why I think C# is easier? In C or C++ you have a line like this to tell the computer to display a message: print or printf("Your message"). While in C# even a non-programmer can recognize the message command: WriteLine("Your message"); Or Console.WriteLine("your message"); if you're writing a program for the command prompt.
![[Image: OAsWbDZ.png]](https://i.imgur.com/OAsWbDZ.png)