Thursday, 11 May 2017

C++ Tutorials for begginners (hindi/urdu) [part 12]







#include<constream.h>

#include<iomanip.h>

void main(){

clrscr();

   int i=0;

    while(i<=10)

    {

       cout<<i<<endl;

    }



getch();

}

C++ Tutorials in Urdu/Hindi [part 11]- else if



code



#include<constream.h>
#include<iomanip.h>
void main(){
clrscr();
 
     // else if
    int score;
    cout<<"enter your score"<<endl;
    cin>>score;
   
            if(score>=90)
   cout<<"your grade is A";
      else if(score>=80)
   cout<<"your grade is A" ;
else if(score>=70)
   cout<<"your grade is A"  ;
else if(score>=60)
   cout<<"your grade is A"   ;
else if(score>=50)
   cout<<"your grade is A"    ;
   else
cout<<"your grade is F";


getch();
}

C++ Tutorials in Urdu/Hindi [part 10]





source code



#include<constream.h>

#include<iomanip.h>

void main(){

clrscr();

 

     // else if

    int score;

    cout<<"enter your score"<<endl;

    cin>>score;

   

            if(score>=90)

   cout<<"your grade is A";

      else if(score>=80)

   cout<<"your grade is A" ;

else if(score>=70)

   cout<<"your grade is A"  ;

else if(score>=60)

   cout<<"your grade is A"   ;

else if(score>=50)

   cout<<"your grade is A"    ;

   else

cout<<"your grade is F";





getch();

}

C++ tutorials in Hindi / Urdu [09] if - else condition


    Relational Operators  and conditional statements in c++.

part 9


WatchOnYoutube

Source Code

#include<constream.h>
#include<iomanip.h>
void main(){
clrscr();
   
     // Relational Operators and conditional statement
    if(10<5)
       cout<<"10 is less than 5"<<endl;


    if(10>5)
       cout<<"10 is greater than 5"<<endl;

    if(10!=5)
       cout<<"10 is not equal to 5"<<endl;
    if(10<=5)
       cout<<"10 is less than or equal to 5"<<endl;
    if(10>=5)
       cout<<"10 is greater than or equal to 5";

getch();
}


Tuesday, 2 May 2017

C++ Tutorials for Beginners (Hindi/Urdu) 08

C++ C++ Tutorial [08]

Watch Full course On Youtube :

This course starts from basic concepts to most advanced concepts all the videos are in HD and free
post your questions in the comments if you have any problem.Also visit Our Youtube Channel and subscribe ..Thanks.

#include<constream.h>
#include<iomanip.h>
void main(){
clrscr();
   
     // MANIPULATORS 
    char name[]="hel";
   
    cout<<name<<endl;
    cout<<setw(5)<<name<<endl;
    
    cout<<setprecision(2)<<22.777;
    
   
   
getch();
}

C++ Tutorials for Beginners (Hindi/Urdu) 07

C++ C++ Tutorial []

Watch Full course On Youtube :

This course starts from basic concepts to most advanced concepts all the videos are in HD and free
post your questions in the comments if you have any problem.Also visit Our Youtube Channel and subscribe ..Thanks.



Code:

#include
void main(){
clrscr();
   
     //ESCAPE SEQUENCE 
    
    cout<<"hellow \n world";
    cout<<"hellow \t world";
    cout<<"hellow \a world";
    cout<<"hellow \' world \'";
   
getch();
}