Author name: vasu

JavaScript Syntax

Syntax of Javascript means the set of rules that needs to be followed while writing javascript code. As you learn JavaScript you would be  using terms like script, variables,functions, comments etc. In this section, i will give you a brief intro about these. Javascript code can be implimented anywhere inside a web page. However it

JavaScript Syntax Read More »

C++ program to make a simple calculator

In this program we will learn how to make a simple calculator in c++. The calculator would do four simple operations- addition, subtraction, multiplication and division. To understand this program, you should have knowledge of the following topics in c++ : Variables Data types Switch statement Arithmetic and assignment operators Program #include<iostream> using namespace std;

C++ program to make a simple calculator Read More »

C++ comments

Comments in C++ are the explanatory statements that helps a reader to understand the code. We can write single line as well as multi line comments in C++. Anything that is included inside a comment is ignored by the compiler. Single line comment : A single line comment can be created by start writing text

C++ comments Read More »