Home
sAksham-Ar
Cancel

Taking input from user

Today we will learn how to take input from user in C++.We will do this using cin in iostream library.cin takes input from keyboard and stores it in a variable like num.\n is used for going to next ...

Declaring and printing variables

Today we will learn how to declare and print variables in C++. In C++, variables can basically be declared of four types namely int,char,double and float.int is for integers,char for characters,fl...

How to print Hello World

Today we will learn to print hello world in C++.First we would include the library iostream which has the cout which is needed to print.then we write int main() which is the function where we write...

Trending Tags