In this series, we are going to learn the fundamentals of computer programming. Language-specific features will be provided in a different series. A programming language is one of the possible ways to instruct a computer. We try to solve a real-life problem. Every programming language might not be suitable for the current problem at hand. In other words, we can say that programming is the skill of implementing an algorithm in a programming language. An algorithm is a step-by-step solution for a problem. So, we can not solve a moderate-size problem in one step. We need to break down a problem into problems of a manageable size. The person who does programming is known as a programmer. Some programmers deal with computer hardware and they are known as system programmers. Others are known as web programmers and write web applications. So, the different types of developers(programmers) use different programming languages to handle thei...
hello.html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <!DOCTYPE html> <html lang= "en" > <head> <title> Hello World </title> <script> //This is a one-liner comment //We can see this message in the console of a web browser //which is usually part of the web browser developer tools console.log( "Hello World!" ); </script> <script src= "hello.js" ></script> </head> <body> <p> I'm in the body of an HTML. I'll show up in the main area of a web browser. </p> </body> </html> hello.js 1 console.log( "I'm in a Javascript file." ); Happy reading.
Infinite Loop : we must have to use break to get out of loop. While Loop : We optionally use break to get out of loop. For Loop : We optionally use break to get out of loop. Happy reading. Keep in touch.
Comments
Post a Comment