Month: June 2015

08
Jun
2015

C++ Numbers

defining numbers in c++ code: #include<iostreaM> using namespace std; int main() { //declaring the numbers short s;…

08
Jun
2015

C++ Nested Switch , Nested If

Nested If,Else If,Else: if(a<b){ if(c>a) { statement; } statement; }else{ if(c>d){ statement; } statement; }   Just…

08
Jun
2015

C++ Ternary Basics clear

Last tutorial we have seen about ternary But the question is why we use ternary ? if(a>b){…

07
Jun
2015

c++ decision making

switch statement int zaki; cin>>zaki; switch(zaki) { case 1: cout<<“This is 1”; break; case 2: cout<<“This is…

07
Jun
2015

C++ Loops

Basics of Loop: while(condition){ statement; } do{ statement; }while(condition); for(initialize;condition;increment){ statement; } Nested Loops: while(condition){ do{ statement;…

07
Jun
2015

C++ Recap

I am recaping what I learned from tutorialspoint.com so far Identifier:I can define taht is c++ Keyword:Some…