If you are really making a program from scratch, you’ll probably want to go back in time a bit. Study the binary language of your target computer, write your logic on paper with a pencil, then convert your logic to machine instructions (still on paper), then take some punchcards and convert the machine instructions into their binary form on the punchcards (make sure you don’t shuffle them!). Then go to the computer, put in your punchcards to load the program into memory, set the starting variables using switches, and then the computer will run your program and output the answer with some lights or printing on paper.
It’s a bit harder to do from scratch nowadays, good luck trying to orient the ferro-magnetic molecules on a hard drive or to set the bits in a chip of flash memory. But luckily, we don’t have to do it from scratch, as modern technology has been built on layers upon layers of previous technology. So now we have things like high level programming languages, operating systems, integrated development environments (IDE) and frameworks, which allow us to get straight to the point with business logic instead of having to figure out how to make the computer do 1 + 1 = 2.
Latest Answers