Skip to main content

Learn c++ in Tamil | Complete guide and tutorial | Beginner to Advance all concepts explained.




hi guys welcome , all the coding used in video are available here :

/*
hi guys welcome to learn c++ in tamil

what is C++
how
what software
your own program

schools,clg,institute....

start
1.interest
2.patience
3.fun
4.practise

computer program - app - programming
source code - hardware - fb

running , executing

machine language :  101010
assembly lang : mov h1;
high lang : c , c++....java , js , python
 eg :  a+b .....1001010

 compiler :  human to machine
             machine to human


 rules :  a+b;

 usage:
 games, manufacturing , embedded , finance , graphics , etc...

 Guide:

1.problem
2.solution - alternative
3.program  - C++
4.compile  - turboc , ide , codeblocks , cmd
5.result   -

library file -
linker :
#include<iostream.h>    input , output
std::cout<<"welcome";   standard character out << " ";


primary section :
1.statements   ;  end
2.functions   main()
3.syntax  , syntax error


practise :
1.end
2.function
3.main()
4.statements
5.library


intro to variables :

data - read / write / change = value

types = jpg ,png ,... mp4  , mp3 , .txt

eg: whatsapp
a ---- b
raj--hi- vimal == message

variable


a = 7;

 a, apple , app121 , ass_   - correct

 12raj , @*&% , - incorrect

 data type : int = 1 , 2 ;
 float = 1.2 , 3.5

 char = s  , raju , viji , hi , welcome
 double quotes ... " "


 assignment operator =

 ==

, to separate variables

mathematical operator

+,-,*,/,

exercise :
program : 2 add , 2 div = (5*ans)


keywords :

int , float , main ,include

exercise  :

        create your own first program
        10 codes
        library
        comments
        mathematical operation
     
        name , age , mark 1 , mark 2 , mar 3;
     
        output : total =


*/

#include<iostream>       
int main(){
    float n1  , n2  ;
 
    std::cout<<"enter the values for n1";
    std::cin>>n1;
    std::cout<<"enter the values for n2";
    std::cin>>n2;
 
    std::cout<<"answer 1 is :"<<(n1+n2)*5<<"\n";
    std::cout<<"answer 2 is :"<<(n1/n2)*5;
    return 0;
}


Comments

  1. Replies
    1. Yes bro, pls try to take python tutorial on tamil

      Delete
    2. #include
      int main()
      {
      char rollnumber,name='Manigandan';

      int age =19 ;
      int TE=89,DOM=99,DME=86;

      std::cout<<"enter your rollnumber:";
      std::cin>>rollnumber;
      std::cout<<"enter your name:"<<name<<"\n";

      std::cout<<"age:"<<age<<"\n";

      std::cout<<"thermal engg:"<<TE<<"\n";
      std::cout<<"dynamic of machine:"<<DOM<<"\n";
      std::cout<<"design of machine element:"<<DME<<"\n";
      std::cout<<"total is:"<<(TE+DOM+DME);
      return 0;
      }

      Delete
    3. enter your rollnumber:311518114305
      enter your name:n
      age:19
      thermal engg:89
      dynamic of machine:99
      design of machine element:86
      total is:274

      Delete
    4. iam not able to get full name how to get that

      Delete
    5. #include
      #include
      int main()
      {
      std::string name;
      int age=19;
      char rollnumber;
      int TE=98,DOM=98,DME=84;
      std::cout<<"enter your name:";
      std::cin>>name;
      std::cout<<"your rollnumber:";
      std::cin>>rollnumber;
      std::cout<<"age:"<<age<<"\n";
      std::cout<<"TE:"<<TE<<"\n";
      std::cout<<"DOM:"<<DOM<<"\n";
      std::cout<<"DME:"<<DME<<"\n";
      std::cout<<"total mark:"<<(TE+DOM+DME);
      return 0;
      }

      Delete

    6. #include

      using namespace std;

      int main()
      {
      std::string n ;
      std::cout<<"enter your name :";
      std::cin>>n;
      int b, n1 , n2 , n3 ;
      std::cout<<"enter your age :";
      std::cin>>b;
      std::cout<<"\n"<<"enter your mark sub 1 :";
      std::cin>>n1;
      std::cout<<"\n"<<"enter your mark sub 2 :";
      std::cin>>n2;
      std::cout<<"\n"<<"enter your mark sub 3 :";
      std::cin>>n3;
      cout<<"NAME :"<<n<<"\n";
      cout<<"AGE :"<<b<<"\n";
      cout<<"sub1 :"<<n1<<"\n";
      cout<<"sub2 :"<<n2<<"\n";
      cout<<"sub3 :"<<n3<<"\n";
      std::cout<<"total marks :"<<n1+n2+n3;
      return 0;
      }

      Delete
    7. #include
      int main()
      {
      std::string name, b12th;
      int TM, EM, MM, PM, CM, BM, ELM;

      std::cout<<"Fill the details given below:-"<<"\n";

      std::cout<<"Enter your name :";
      std::cin>>name;

      std::cout<<"Enter your branch in 12th :";
      std::cin>>b12th;

      std::cout<<"Enter your Tamil mark :";
      std::cin>>TM;

      std::cout<<"Enter your English mark :";
      std::cin>>EM;

      std::cout<<"Enter your Maths mark :";
      std::cin>>MM;

      std::cout<<"Enter your Physics mark :";
      std::cin>>PM;

      std::cout<<"Enter your Chemistry mark :";
      std::cin>>CM;

      std::cout<<"Enter your Biology mark :";
      std::cin>>BM;

      std::cout<<"Enter your total marks in 11th :";
      std::cin>>ELM;

      std::cout<<"Total marks in 11th :"<<ELM<<"\n";

      std::cout<<"% in 11th :"<<ELM/6<<"\n";

      std::cout<<"Total marks in 12th :"<<TM+EM+MM+PM+CM+BM<<"\n";

      std::cout<<"% in 12th :"<<(TM+EM+MM+PM+CM+BM)/6<<"\n";

      std::cout<<"Cut-Off marks :"<<MM+(PM+CM)/2;

      return 0;
      }

      Delete
    8. #include
      using namespace std;
      int main()
      {
      char name[]="Noven";
      int age=16;
      int mark1=98;
      int mark2=87;
      int mark3=76;
      int total=mark1+mark2+mark3;

      cout<<"Name is:/n"<<(name);
      cout<<"Age is:/n"<<(age);
      cout<<"Your total is:/n"<<(total);
      return 0;

      }

      Delete

    9. #include
      #include

      int get data();
      {

      std::string name ;
      int age;
      int m1 , m2,m3,m4,m5 ;

      std::cout<<"enter your name and age";
      std::cin>>name>>age;
      std::cout<<"enter your mark 1 ";
      std::cin>>m1 ;
      std::cout<<"enter your mark 2 ";
      std::cin>>m1 ;
      std::cout<<"enter your mark 1 ";
      std::cin>>m2 ;
      std::cout<<"enter your mark 3 ";
      std::cin>>m3 ;
      std::cout<<"enter your mark 4 ";
      std::cin>>m4 ;
      std::cout<<"enter your mark 5 ";
      std::cin>>m5 ;
      std::cout<<"total marks"<<(m1+m2+m3+m4+m5)<<"/n";
      return 0;
      }

      int main()
      {
      std::cout<<"hi";

      get data();
      get data();
      return 0;
      }

      Delete
    10. Anna neega epdi thuley type pannigey konja solluga

      Delete
  2. #include
    Int main()
    {
    Char name;
    Int age,mark1,mark2,mark3;

    Std::cout<<"enter the student name and age";
    Std::cin>>" Name and age /n"

    Std::cout<<" Enter the marks of student mark1 and mark2 and mark3 /n";
    Std::cin>>" Mark1 and mark2 and mark3";

    Std::cout<<"total marks"<;

    Return0;
    }

    ReplyDelete
    Replies
    1. #include
      int main()
      {
      Char name;int age,name,mark 1,mark 2,mark 3;
      Std::cout<<"Enter the number of students";
      Std::cin<<"Enter the students age";
      std::cout<<"Enter the students mark 1, mark 2, mark 3 /n";
      Std::cin<<"Mark1,Mark2,Mark3";
      Std:cout<<"totalmarks";

      return 0;
      }

      Delete
    2. #include
      int main()
      {
      char name,age,mark1,mark2,mark3;
      std::cout<<"enter the following details"<<"\n";
      std::cout<<"name:";
      std::cin>>name;
      std::cout<<"age:"<<"\n";
      std::cin>>age;
      std::cout<<"mark1:"<<"\n";
      std::cin>>mark1;
      std::cout<<"mark2:"<<"\n";
      std::cin>>mark2;
      std::cout<<"mark3:"<<"\n";
      std::cin>>mark3;
      std::cout<<"total:"<<mark1+mark2+mark3<<"\n";
      return 0;
      }

      Delete
  3. please check this program;

    #include
    int main()
    {

    char name;
    int age;
    int mark1,mark2,mark3;

    std::cout<<"Enter your name :"<<"\n";
    std::cin>>name;

    std::cout<<"Enter your age :"<<"\n";
    std::cin>>age;

    std::cout<<"Enter your mark1 :"<<"\n";
    std::cin>>mark1;

    std::cout<<"Enter your mark2 :"<<"\n";
    std::cin>>mark2;

    std::cout<<"Enter your mark3 :"<<"\n";
    std::cin>>mark3;


    std::cout<<"total mark is :"<<mark1+mark2+mark3;


    return 0;
    }

    ReplyDelete
    Replies
    1. dude i used the same program but i and type the age and marks....it automatically executes random number

      Delete
    2. This comment has been removed by the author.

      Delete
    3. bro name la single letter kudunga then it will work as u have given name as a character so single letter kudunga name la

      Delete
    4. one character na 'char' use pannuga oru vela full name na 'String' use panunga

      Delete
    5. #include
      int main()
      {
      int main()
      int main () mark1,mark2
      std::cout<<"enter your age"<>age;
      std::cout<<"enter your mark1"<>mark1;
      std::cout<<"enter your mark2"<>mark2;
      std::cout<<"enter your mark2;
      int sum=mark1,mark2;
      std::cout<<"your totel mark="<<sum;
      return 0;
      }

      Delete
    6. include
      int main()
      {
      int name,age,mark1,mark2,mark3;
      std::cout << "name"<<"\n";
      std::cin>>name;
      std::cout<<"age"<<"\n";
      std::cin>>age;
      std::cout<<"mark1"<<"\n";
      std::cin>>mark1;
      std::cout<<"mark2"<<"\n";
      std::cin>>mark2;
      std::cout<<"mark3"<<"\n";
      std::cin>>mark3;
      std::cout<<"answer is"<<mark1+mark2+mark3;
      return 0;
      }


      Idhula enna wrong sollunga pa

      Delete
    7. std::cout<<"the answer is:"<<mark1+mark2+mark3;

      Delete
  4. HI ji, i have seen tutorial
    i want to know about

    return 0;


    This is my code

    #include
    #include

    using namespace std;

    int perdet(){

    string name;
    int age;
    int salary;

    cout << "Enter person details\n";
    cout<< endl << "Person's Name:";
    cin>>name;

    cout << "Age: ";
    cin>>age;

    cout<<"Salary: ";
    cin>>salary;

    return 0;
    }

    int main()
    {
    perdet();
    return 0;
    }


    i had included in both user defined function and in main function - return 0;

    but there was no error

    indha return 0; romba confusion aga iruku bro please explain??

    ReplyDelete
    Replies
    1. #include

      using namespace std;

      int main(){

      string name;
      int age;
      int salary;

      cout << "Enter person details\n";
      cout<< endl << "Person's Name:";
      cin>>name;

      cout << "Age: ";
      cin>>age;

      cout<<"Salary: ";
      cin>>salary;

      return 0;
      }

      Delete
    2. Brother Enna Ku neeega sollrathu super ah puriyuthu aana nenga sum sondrathu than puriyala

      Delete
  5. #include
    #Include
    int main()
    {
    std::string name;
    int age, mark1, mark2, mark3;

    std::cout<<"what is your name?";
    std::cin>>name;
    std::cout<<"/n<<""what is your age";
    std::cin>>age;
    std::cout<<"/n"<<"mark1?";
    std::cin>>mark1;
    std::cout<<"/n"<<"mark2?";
    std::cin>>mark2;
    std::cout<<"/n"<<"mark3?";
    std::cin>>mark3;

    std::cout<<"/n"<<"name"<<name;
    std::cout<<"/n"<<"age"<<age;
    std::cout<<"/n"<<"matk1"<<mark1;
    std::cout<<"/n"<<"matk2"<<mark2;
    std::cout<<"/n"<<"matk3"<<mark3;
    std::cout<<"/n"<<"totelel matk"<<mark1+mark2+mark3;
    return 0;
    }

    ReplyDelete
    Replies
    1. #include

      using namespace std;

      int main(){

      string name;
      int age;
      int salary;

      cout << "Enter person details\n";
      cout<< endl << "Person's Name:";
      cin>>name;

      cout << "Age: ";
      cin>>age;

      cout<<"Salary: ";
      cin>>salary;

      return 0;
      }


      Delete
  6. // Example program
    #include
    #include
    using namespace std;
    int main()
    {
    std::string name;
    int age;
    cout<<"enter the name:";
    cin>>name;
    cout<<"enter the age:";
    cin>>age;
    int mark1 , mark2 , mark3;
    cout<<"enter the mark1 :";
    cin>>mark1;
    cout<<"enter the mark2 :";
    cin>>mark2;
    cout<<"enter the mark3 :";
    cin>>mark3;

    cout<<"total marks is :"<<mark1+mark2+mark3<<"\n";

    return 0;
    }

    ReplyDelete
    Replies
    1. #incloude
      in main()
      {
      int age;
      int mark1,mark2,mark3;
      std::cout<<"enter your age"<>age;
      std::cout<<"enter your mark1"<>mark1;
      std::cout<<"enter your mark2"<>mark2;
      std::cout<<"enter your mark3"<>mark3;
      int sum=mark1,mark2,mark3;
      std::cout<<"your totel makk="<<sum;
      return 0;
      }

      Delete
    2. #include
      int main()
      {
      int name = 'kabilesh';
      int age = 22;

      int english = 99;
      int maths = 100;
      int tamil = 99;

      std::cout<<"student name is:"<<(name)<<"\n";
      std::cout<<"student age is:"<<(age)<<"\n";

      std::cout<<"mark obtained by the student"<<"\n";
      std::cout<<"tamil is 99"<<"\n";
      std::cout<<"english is 99"<<"\n";
      std::cout<<"maths is 100"<<"\n";

      std::cout<<"total marks:"<<(tamil + english + maths);



      return 0;
      }

      Delete
  7. நா 12 th படிக்கிறேன் உங்க mobile number தர முடியுமா?

    ReplyDelete
  8. my father number 9787083382 unga mobil number a intha number ku hi mesage pannu ingga

    ReplyDelete
  9. neeinga keeta maathiri age,3mark prograam type pannane aana namek ku type panne theriyala antha string solli thaa inga

    ReplyDelete
  10. #include
    #include
    #include"sum.h"
    int copydata(int a,int b) //pearameter
    {
    return a+b;
    }
    int listdata()
    {
    std::string name;
    int age;
    int mark1,mark2;
    std::cout<<"enter your name: \n";
    std::cin>>name;
    std::cout<<"enter the your age and 2 sub mark: \n"; /*wone lybery
    add(int a,int b)
    {return a+b} */
    std::cin>>age>>mark1>>mark2;
    std::cout<<"name = "<<name<<"\n";
    std::cout<<"age ="<<age<<"\n";
    std::cout<<"mark="<<add(mark1,mark2)<<"\n";
    return 0;
    }
    int main()
    {
    std::cout<<"welcome your list data \n";
    listdata();
    listdata();
    copydata(2,3); //argument
    return 0;
    }

    ReplyDelete
  11. Hi Sir,
    I have completed your first video of C++ Tutorial and here I have done the given excersice
    // Example program
    #include
    #include

    int main()
    {
    int Name;
    int Age = 28;
    int S1=100,S2=100,S3=100,S4=100,S5=100;
    std::cout<<"Enter the student Name"<<"\n";
    std::cin>>Name;
    std::cout<<"Student Age is :"<<Age<<"\n";
    std::cout<<"Sriram Mark Sheet"<<"\n";
    std::cout<<"Tamil :"<<S1<<"\n";
    std::cout<<"English :"<<S2<<"\n";
    std::cout<<"Maths :"<<S3<<"\n";
    std::cout<<"Science :"<<S4<<"\n";
    std::cout<<"Social :"<<S5<<"\n";
    std::cout<<"Total is :"<<(S1+S2+S3+S4+S5);
    return 0;
    }

    please do correct and guide me.

    ReplyDelete
    Replies
    1. many made this mistake,
      in first line
      type this in first line
      #include

      Delete
  12. #include //libray function
    int
    main () //main function
    {
    char name[100]; //assign char for name
    float age, m1, m2, m3; // assign int for numbers(age and marks)
    std::cout << "name:" << "\n"; //to user understand
    std::cin >> name; //to get name from user
    std::cout << "age:" << "\n"; //to user understand
    std::cin >> age; //to get age from user
    std::cout << "m1:" << "\n"; //to user understand
    std::cin >> m1; //to get mark1 from user
    std::cout << "m2:" << "\n"; //to user understand
    std::cin >> m2; //to get mark2 from user
    std::cout << "m3:" << "\n"; //to user understand
    std::cin >> m3; //to get mark3 from user
    std::cout << "name:" << name << "\n" << "age:" << age << "\n" << "average:" << (m1 + m2 + m3) / 3 << "\n"; //output to name and age and avg

    return 0;
    }

    ReplyDelete
  13. Not able to view any of your videos, kindly check to it.

    ReplyDelete

  14. #include
    #include
    int main(){
    std::string name; int dob;
    int number; int year;
    std::string school;
    std::string dist;
    int sub1; int sub2; int sub3; int sub4; int sub5;
    std::cout<<"Name Please\n";
    std::cin>>name;
    std::cout<<"D.O.B Please\n";
    std::cin>>dob;
    std::cout<<"Reg.No Please\n";
    std::cin>>number;
    std::cout<<"Academic year Please\n";
    std::cin>>year;
    std::cout<<"School name Please\n";
    std::cin>>school;
    std::cout<<"District Please\n";
    std::cin>>dist;
    std::cout<<"How much mark in Tamil\n";
    std::cin>>sub1;
    std::cout<<"How much mark in English\n";
    std::cin>>sub2;
    std::cout<<"How much mark in Mathematics\n";
    std::cin>>sub3;
    std::cout<<"How much mark in Science\n";
    std::cin>>sub4;
    std::cout<<"How much mark in Social Science\n";
    std::cin>>sub5;
    std::cout<<"Name:"<<name<<"\n"<<"D.O.B:"<<dob<<"\n"<<"Reg.No:"<<number<<"\n"<<"Pass out Year:"<<year<<"\n"<<"School:"<<school<<"\n"<<"District:"<<dist<<"\n"<<"Tamil:"<<sub1<<"\n"<<"English:"<<sub2<<"\n"<<"Mathematics:"<<sub3<<"\n"<<"Science:"<<sub4<<"\n"<<"Social Science:"<<sub5<<"\n"<<"Toatal="<<(sub1+sub2+sub3+sub4+sub5)<<"\n"<<"Congratulations, You're PASS!'"<<"\n"<<"Thank You";
    return 0;
    }

    ReplyDelete
  15. #include
    int main()
    {
    char name[50];
    int age;
    float mark1,mark2,mark3;

    std::cout<<"Enter your name "<<"\n";
    std::cin>> name;
    std::cout<<"Enter your age "<<"\n";
    std::cin>> age;

    std::cout<<"Enter your mark1 "<<"\n";
    std::cin>> mark1;

    std::cout<<"Enter your mark2 "<<"\n";
    std::cin>> mark2;

    std::cout<<"Enter your mark3 "<<"\n";
    std::cin>> mark3;

    std::cout<<"Name- "<<name<<"\n";
    std::cout<<"Age- "<<age<<"\n";
    std::cout<<"Average- "<<(mark1+mark2+mark3)/3 <<"\n";

    return 0;
    }

    I saw your video yesterday. I wrote a program.
    Can you please give a feedback about it.

    ReplyDelete
    Replies
    1. #include
      int main()
      {
      char name[50];
      int age;
      float mark1,mark2,mark3;

      std::cout<<"Enter your name "<<"\n";
      std::cin>> name;
      std::cout<<"Enter your age "<<"\n";
      std::cin>> age;

      std::cout<<"Enter your mark1 "<<"\n";
      std::cin>> mark1;

      std::cout<<"Enter your mark2 "<<"\n";
      std::cin>> mark2;

      std::cout<<"Enter your mark3 "<<"\n";
      std::cin>> mark3;

      std::cout<<"Name- "<
      ypu missed

      Delete
  16. #include //libary file //
    int main()
    {
    // Using for Array concenpt //
    char name[]="";
    // The values//
    int age,mark1,mark2,mark3;
    // c program for printf and scanf concenpt //
    std::cout<<"Enter Your Name :";
    std::cin>>name;
    std::cout<<"Enter Your Age :";
    std::cin>>age;
    std::cout<<"Enter You Mark 1:";
    std::cin>>mark1;
    std::cout<<"Enter You Mark 2:";
    std::cin>>mark2;
    std::cout<<"Enter You Mark 3:";
    std::cin>>mark3;
    std::cout<<"Total Mark:";

    //total marks additon //
    std::cout<<mark1+mark2+mark3;


    return(0);


    }

    ReplyDelete
  17. #include
    int main()
    {
    std::string name;
    int age;
    int m1,m2,m3;
    std::cout<<"WHAT IS UR NAME:";
    std::cin>>name;
    std::cout<<"WHAT IS UR AGE:";
    std::cin>>age;
    std::cout<<"enter ur marks\n";
    std::cout<<"m1:";
    std::cin>>m1;
    std::cout<<"m2:";
    std::cin>>m2;
    std::cout<<"m3:";
    std::cin>>m3;
    std::cout<<"total marks are:";
    std::cout<<m1+m2+m3;

    return 0;

    ReplyDelete
  18. #include
    int main()
    {
    const char* name="name=mani" ;
    const char* age="age=5";
    const char* mark1="mark1=5" ;
    const char* mark2="mark2=5" ;
    const char* mark3="mark3=5" ;
    std::cout<<name<<"\n" ;
    std::cout<<age<<"\n";
    std::cout<<mark1<<"\n" ;
    std::cout<<mark2<<"\n" ;
    std::cout<<mark3 ;
    return 0;
    }

    ReplyDelete
    Replies
    1. #include
      int main()
      {
      const char* name="name=mani" ;
      const char* age="age=5";
      const char* mark1="mark1=5" ;
      const char* mark2="mark2=5" ;
      const char* mark3="mark3=5" ;
      std::cout<
      you missed

      Delete
  19. // this is my first program and thankyou for teaching me
    #include
    #include

    int main(){
    char name;
    std::cout<<"write your name";
    std::cin>>name;
    int age , m1 , m2 , m3 ;
    std::cout<<"write your age";
    std::cin>>age;
    std::cout<<"write your science mark";
    std::cin>>m1;
    std::cout<<"write your english mark";
    std::cin>>m2;
    std::cout<<"write your maths mark";
    std::cin>>m3;
    std::cout<<"hi ";
    std::cout<<name<<"\n";
    std::cout<<"your age is : ";
    std::cout<<age<<"\n";
    std::cout<<"your total mark is : ";
    std::cout<<m1 + m2 + m3 ;
    return 0 ;
    }

    ReplyDelete
  20. //Sorry I not add mark3


    #include
    int main()
    {
    int mark1=100;
    int mark2=55;
    int mark3=97;
    std::cout<<"name : SUJAY NITHISH"<<"\n";
    std::cout<<"age : 15"<<"\n";
    std::cout<<"mark1 : "<<mark1<<"\n";
    std::cout<<"mark2 : "<<mark2<<"\n";
    std::cout<<"mark3 : "<<mark3<<"\n";
    std::cout<<"total mark : "<<mark1 + mark2 + mark3;
    return 0;
    }

    ReplyDelete
  21. #include
    int main()
    {
    int mark1=500,mark2=400,mark3=100;
    std::cout<<"name : sanchitta"<<"\n";
    std::cout<<"age : 10"<<"\n";
    std::cout<<"mark1 : "<<mark1<<"\n";
    std::cout<<"mark2 : "<<mark2<<"\n";
    std::cout<<"mark3 : "<<mark3<<"\n";
    std::cout<<"total : "<<mark1+mark2+mark3;
    return 0;


    }

    ReplyDelete

  22. #include
    int main()
    {
    char name;

    std::cout<<"please enter your name"<<"\n";
    std::cin>>name;
    std::cout<>age;
    std::cout<>mark1>> mark2>>mark3;
    std::cout<<mark1<<mark2<<mark3;


    total = mark1+mark2+mark3;

    std::cout<<"your total mark "<<(total)<<"\n";

    return 0;

    }

    ReplyDelete
  23. #include//It is an input, output stream library.
    int main()
    { char Name[25];// 25 is the maximum strength or length of the 'Name' that I have provided. Name is a non numerical one, which contain only alphabets. So it is mentioned in "char" keyword.
    std::cout<<"Name : ";
    std::cin>>Name;
    int Age,Mark1,Mark2,Mark3;//It contains only numerical values for the assigned word. So it is mentioned in "int" keyword.
    std::cout<<"Age : ";
    std::cin>>Age;
    std::cout<<"Mark 1 : ";
    std::cin>>Mark1;
    std::cout<<"Mark 2 : ";
    std::cin>>Mark2;
    std::cout<<"Mark 3 : ";
    std::cin>>Mark3;
    std::cout<<"Your Name is "<<Name<<"."<<'\n'<<"Your Age is "<<Age<<"."<<'\n'<<"Your Total Mark is "<<Mark1+Mark2+Mark3<<".";
    return 0;
    }

    ReplyDelete
  24. #include
    #include
    #include"lib1.h"
    #define NAME "BYE"

    /*
    add(int a,int b,int c){
    return a+b+c;
    }
    sub(int a,int b,int c){
    return a+b-c;
    }
    div(int a, int b){
    return a/b;
    }
    multi(int a,int b,int c){
    return (a+b)*c;
    }
    */
    int fraction(int p,int q,int r);
    int main()
    {
    std::cout<<"I'AM PRAVEEN NEW TO C++ PROGRAMME\n";
    std::cout<<"ans 1="<<add(1,2,3);
    std::cout<<"ans 2="<<sub(1,2,3);
    std::cout<<"ans 3="<<div(4,8);
    std::cout<<"ans 4="<<multi(1,2,3);
    std::cout<<"ans 5="<<fraction(5,4,1); //arguements
    std::cout<<NAME;
    std::cout<<"********..........********\n";
    std::cout<<"THIS IS MY FIRST PROGRAMME SORRY IF IT WAS NOT GOOD";
    return 0;
    /* [ans 5 had included arguements and paramets].
    [ans 1 to 4 included my own libraray file] */

    }

    int fraction(int p,int q,int r){
    std::cout<<p-q+r; //parameters
    return 0;
    }

    ReplyDelete
  25. #include
    #include

    int main()
    {
    std::cout<< "name:r.venkatesh"<<"\n";
    std::cout<<"AGE:15"<<"\n";
    float n1,n2,n3;
    std::cout<<"enter mark for n1:"<<"\n";
    std::cin>>n1;
    std::cout<<"enter mark for n2"<<"\n";
    std::cin>>n2;
    std::cout<<"enter mark for n3"<<"\n";
    std::cin>>n3;
    std::cout<<"total mark:"<<(n1+n2+n3)<<"\n";

    }

    ReplyDelete
  26. #inclode
    int main()
    {
    char name
    int age
    int mark1,mark2,mark3
    std ::cout<<"write your name"<<"\n";
    std ::cin>>name;
    std ::cout<<" what is your age"<<"\n";
    std ::cin>>age;
    std ::cout<< "mark 1"<<"\n";
    std ::cin>>mark1
    std ::cout<<"mark2"<<"\n";
    std ::cin>>mark2
    std ::cout<<"mark3"<<"\n";
    std ::cin>>mark3
    stx ::cout<<"total mark is"<<mark1,mark2,mark3;
    return 0;
    }

    ReplyDelete
    Replies
    1. #include
      using namespace std;

      int main()
      {
      string name;
      int age , m1 , m2 , m3 ;
      cout<<"ENTER THE NAME OF THE STUDENT : ";
      cin>>name;
      cout<<"\n"<<"ENTER THE AGE OF THE STUDENT : ";
      cin>>age;
      cout<<"\n"<<"ENTER THE MARKS OF THE STUDENT IN M1 : ";
      cin>>m1;
      cout<<"\n"<<"ENTER THE MARKS OF THE STUDENT IN M2 : ";
      cin>>m2;
      cout<<"\n"<<"ENTER THE MARKS OF THE STUDENT IN M3 : ";
      cin>>m3;
      cout<<"\n"<<"NAME OF THE STUDENT = "<<name;
      cout<<"\n"<<"AGE OF THE STUDEN = "<<age;
      cout<<"\n"<<"MARKS OF THE STUDENT IN M1 = "<<m1;
      cout<<"\n"<<"MARKS OF THE STUDENT IN M2 = "<<m2;
      cout<<"\n"<<"MARKS OF THE STUDENT IN M3 = "<<m3;
      cout<<"\n"<<"TOTAL MARKS OF THE STUDENT = "<<m1+m2+m3;
      return 0;
      }

      Delete
    2. #include
      int main() {
      float m1,m2,m3,m4,m5;
      char name,age;
      std::cout<<"what is your name :";
      std::cin>>name;
      std::cout<<"how old are you :";
      std::cin>>age;
      std::cout<<"enter your marks";
      std::cin>>m1,m2,m3,m4,m5;
      std::cout << "total mark :"<<m1+m2+m3+m4+m5;

      return 0;
      }

      Delete
  27. #include
    #include
    using namespace std;

    int main()
    {
    string n;
    int s;
    int a,b,c;
    cout<<"Name :";
    cin>>n;

    cout<<"Age :";
    cin>>s;


    cout<<"enter mark 1 : ";
    cin>>a;
    cout<<"enter mark 2 : ";
    cin>>b;
    cout<<"enter mark 3 : ";
    cin>>c;
    string z;
    z=n;
    cout<<"total marks of "<<z<<" is : "<<a+b+c;




    return 0;
    }

    output:

    Name :sidd
    Age :21
    enter mark 1 : 20
    enter mark 2 : 50
    enter mark 3 : 80
    total marks of sidd is : 150

    ReplyDelete
    Replies
    1. #include
      using namespace std;

      int main()
      {
      int n, range;

      cout << "Enter an integer: ";
      cin >> n;

      cout << "Enter range: ";
      cin >> range;

      for (int i = 1; i <= range; ++i) {
      cout << n << " * " << i << " = " << n * i<<"\n" ;
      }

      return 0;
      }

      Delete
  28. #include
    #include

    int main(){

    std::string name;
    int mark1;
    int mark2;
    int mark3;

    std::cout<<"enter your name:";
    std::cin>>name;

    std::cout<<"\n"<<"enter your marks:";
    std::cin>>mark1>>mark2>>mark3;

    std::cout<<"Name:"<<name;

    std::cout<<"\n"<<"Mark1:"<<mark1;

    std::cout<<"\n"<<"Mark2:"<<mark2;

    std::cout<<"\n"<<"Mark3:"<<mark3;

    std::cout<<"\n"<<"TotalMarks:"<<mark1+mark2+mark3;

    return 0;
    }

    ReplyDelete
  29. /* tis is my first program */

    #include //this is a library file

    using namespace std;//instead of std

    int main()
    {
    cout<<"write your name,";//for asking name
    string s;//use to ask letters
    cin>>s;//use to bought information from user

    cout<<"write your age,";//to ask age
    int f,e,r,t;//use to ask numbers
    cin>>f;//use to bought information from user

    cout<<"write mark1,";//to ask mark
    cin>>e;//use to bought information from user

    cout<<"write mark2,";//to ask mark
    cin>>r;//use to bought information from user

    cout<<"write mark3,";//to ask mark
    cin>>t;//use to bought information from user

    //cout is use to bring output
    cout<<"\n""name:"<<s;
    cout<<"\n"<<"age:"<<f;
    cout<<"\n"<<"mark1:"<<e<<"\n"<<"mark2:"<<r<<"\n"<<"mark3:"<<t;
    cout<<"\n"<<"total:"<<e+r+t;

    return 0;
    }
    /* my program completed */

    ReplyDelete
  30. my c++ program for you!!!


    #include
    #include

    int main()
    {
    std::string name;
    std::cout << "What is your name? ";
    std::cin>>name;
    std::cout << "Hello, " << name ;
    }

    ReplyDelete
  31. i will use cout instead of std::cout is correct please tell

    ReplyDelete
  32. #include
    using namespace std;
    int main()
    {
    int rollno,phy,chem,maths,comp,total;
    float cutoff;
    char name;
    cout<<"enter name of the candidate:";
    cin>> name;
    cout<<"\n"<<"enter your roll no";
    cin>>rollno;
    cout<<"\n"<<"enter the mark in phy:";
    cin>>phy;
    cout<<"\n"<<"enter the mark in chem:";
    cin>>chem;
    cout<<"\n"<<"enter the mark in maths:";
    cin>>maths;
    cout<<"\n"<<"enter the mark in comp:";
    cin>>comp;
    total = phy+chem+maths+comp;
    cutoff=total%4;
    cout<<"\n"<<"PROFILE";
    cout<<"\n"<<"NAME"<<name;
    cout<<"\n"<<"ROLLNO"<<rollno;
    cout<<"\n"<<"CUTTOFF"<<cutoff;
    return 0;
    }

    output
    enter the name of candidate :venkat
    enter the roll no:12341
    enter the mark in phy:95
    enter the mark in chem:97
    enter the mark in maths:100
    enter the mark in comp:100
    PROFILE
    NAME venkat
    ROLL NO 12341
    CUTOFF 98



    ReplyDelete
  33. include
    #include
    using namespace std;
    int main()
    {
    int rollno,phy,chem,maths,comp,total;
    float cutoff;
    string name;
    cout<<"enter name of the candidate:";
    cin>> name;
    cout<<"\n"<<"enter your roll no";
    cin>>rollno;
    cout<<"\n"<<"enter the mark in phy:";
    cin>>phy;
    cout<<"\n"<<"enter the mark in chem:";
    cin>>chem;
    cout<<"\n"<<"enter the mark in maths:";
    cin>>maths;
    cout<<"\n"<<"enter the mark in comp:";
    cin>>comp;
    total = phy+chem+maths+comp;
    cutoff=total/4;
    cout<<"\n"<<"PROFILE";
    cout<<"\n"<<"NAME:"<<name;
    cout<<"\n"<<"ROLLNO:"<<rollno;
    cout<<"\n"<<"CUTTOFF:"<<cutoff;
    return 0;
    }

    ReplyDelete
  34. Check my program http://cpp.sh/3iee7

    ReplyDelete
  35. #include
    #include
    int main
    {
    std::string name; // declaration of variable name
    int age , mark1 ,mark2,mark3, totalmark; // declaration of variables
    std::cout <<"ur name"<<"\n"; // to get a value
    std::cin>> name; // to store a value
    std::cout<<"age?" <<"\n";
    std::cin>>age;
    std::cout<<"mark1" <<"\n";
    std::cin>>mark1;
    std::cout<<"mark2?"<<"\n";
    std::cin>>mark2;
    std::cout<<"\n"<<"mark3?";
    std::cin>>mark3;
    std::cout<<"\n"<<"totalmark:"<<mark1+mark2+mark3; // output
    return 0;

    }

    ReplyDelete
  36. #include
    int main()
    {
    string Name;
    int age,Mark1,Mark2,Mark3,Total;
    cout<<"enter the details"<<"\n";
    cin>>Name>>age>>Mark1>>Mark2>>Mark3;
    cout<<"Enter the Name"<<"\n"<<Name<<"\n"<<"Age="<<age<<"\n"<<"Mark1="
    <<Mark1<<"\n"<<"Mark2="<<Mark2<<"\n"<<"Mark3="<<Mark3<<"\n"<<"Total="
    <<(Mark1+Mark2+Mark3)<<",\n";
    return 0;
    }

    ReplyDelete
  37. #include
    int main()
    {
    std::cout<<"Name:Ramesh"<<"\n";
    std::cout<<"age:17"<<"\n";
    int mark1 = 94;
    std::cout<<"maths mark="
    <<mark1<<"\n";
    int mark2 =85;
    std::cout<<"physics mark="
    <<mark2<<"\n";
    int mark3 =78;
    std::cout<<"chemistry mark="
    <<mark3<<"\n";
    std::cout<<"Total marks="
    <<mark1+mark2+mark3;
    return 0;
    }

    ReplyDelete
  38. sir i made a mail to you please help
    my mail id iameddypop@gmail.com
    please post chap 7 sir ,
    i love your teaching ,
    i hope you will help me
    thank you

    ReplyDelete
  39. #include
    int main() {
    char name [50];
    int age;

    float tamil, english, maths , science , socialscience;

    std::cout<<"Enter your name" <<"\n";
    std::cin>>name;

    std::cout<<"Enter your age" <<"\n";
    std::cin>>age;

    std::cout << "Enter your tamil mark "<<"\n";
    std::cin >>tamil;

    std::cout << "Enter your english mark "<<"\n";
    std::cin >>english;

    std::cout << "Enter your maths mark "<<"\n";
    std::cin >>maths;

    std::cout<<"Enter your science mark "<<"\n";
    std::cin >>science;

    std::cout <<"Enter your social mark "<<"\n";
    std::cin >>socialscience;

    std::cout<<"total marks :" <<tamil+english+maths+science+socialscience<<"\n";
    std::cout<<"Name-"<<name<<"\n";
    std::cout<<"Age-"<<age<<"\n";
    std::cout<<"Average-"<<(tamil+english+maths+science+socialscience)/5<<"\n";
    return 0;
    }

    ReplyDelete
  40. i'am just 13 years bro thanks for your video

    ReplyDelete
  41. The article is clear as it is. It clearly communicated the idea of why functions are beneficial in programming. If anyone want to learn C++ you can visit our website. This make a mastered in C++ programing. We have complete C++ tutorials teaching you to program in C++. Whether you’ve had any prior experience programming or not, the tutorials on this site will walk you through all the steps you’ll need to know in order to create and compile your programs..

    Thank you very much!

    ReplyDelete
  42. //My first program
    #include
    int main()
    {
    int age;
    char name,total;
    float m1,m2,m3;
    std::cout<<"Enter the age:";
    std::cin>>age;
    std::cout<<"Enter the name:";
    std::cin>>name;
    std::cout<<"Enter the m1:"<<"\n";
    std::cin>>m1;
    std::cout<<"Enter the m2:"<<"\n";
    std::cin>>m2;
    std::cout<<"Enter the m3:"<<"\n";
    std::cin>>m3;

    std::cout<<"total:"<<(m1+m2+m3);

    return 0;
    }

    ReplyDelete
  43. int number[3];
    int sum =0;
    int total;
    int i;
    for (i=0; i<3; i++)
    {
    cin>>number[i];
    sum = sum + number[i];
    };
    cout<<"The Sum is :"<>total;
    total='A';
    switch(total)
    {
    case 'A':
    if(total/2==0)
    {
    cout<<"Given number is even";
    };
    break;
    case 'B':
    if(total/3==0)
    {
    cout<<"Given number is odd";
    };
    break;

    };
    return 0;
    }
    Sir I couldn't get my output for switch case... Help me

    ReplyDelete
  44. This comment has been removed by the author.

    ReplyDelete
  45. #include
    #include
    int main(){
    std::string name,age;
    std::cout<<"Enter the Name"<<"\n";
    std::cout<<"Enter the Age"<<"\n";
    std::cin>>name;
    std::cin>>age;
    int mark1 = 90,mark2 = 98,mark3 = 100;
    int addvalue = mark1 + mark2 + mark3;
    std::cout<<"total mark = "<<(mark1 + mark2 + mark3);
    }

    ReplyDelete
  46. int main()
    {
    for (int a = 1; a <= 5; a++)
    {
    for (int b = 5; b >= 1; b--)
    {
    if (b > a)
    std::cout << "\t";
    else
    std::cout << b<<"\t";
    }
    std::cout << "\n";
    }
    }
    Output:
    1
    2 1
    3 2 1
    4 3 2 1
    5 4 3 2 1

    ReplyDelete
  47. https://onlinegdb.com/SJtxnr6qP

    ReplyDelete
  48. My Frist Program Thank you...

    #include

    int main()
    {
    std::string name;
    int age;

    std::cout<<"Your Name : \n";
    std::cin>>name;

    std::cout<<"Your age : \n";
    std::cin>>age;

    int m1,m2,m3;
    std::cout<<"Your m1 mark : \n";
    std::cin>>m1;

    std::cout<<"Your m2 mark : \n";
    std::cin>>m2;

    std::cout<<"Your m3 mark : \n";
    std::cin>>m3;


    std::cout<<"your name :"<<name<<"\n";
    std::cout<<"your age :"<<age<<"\n";
    std::cout<<"yout total mark :"<<m1+m2+m3;

    return 0;
    }

    ReplyDelete
  49. kishore my name my app Link
    (http://cpp.sh/4dx5l) url click and tell it part 1 project. It was do c++shell in mobil.

    ReplyDelete
  50. my First progming thank you bro:


    include
    #include

    int main(){

    std :: string name ;
    int age;
    int mark1;
    int mark2;
    int mark3;

    std::cout<<"what is your name?";
    std::cin>>name;

    std::cout<<"what is your age?";
    std::cin>>age;

    std::cout<<"what is your mark1";
    std::cin>>mark1;

    std::cout<<"what is your mark2";
    std::cin>>mark2;

    std::cout<<"what is your mark3";
    std::cin>>mark2;

    std::cout<<"/n"<<"name :"<<name;
    std::cout<<"/n"<<"age :"<<age;
    std::cout<<"/n"<<"mark1 :"<<mark1;
    std::cout<<"/n"<<"mark2 :"<<mark2;
    std::cout<<"/n"<<"mark3 :"<<mark3;
    std::cout<<"/n"<<"Total mark :"<<(mark1+mark2+mark3);

    return 0;

    }

    ReplyDelete
  51. #include
    int main()
    {

    std::string name,age;
    std::cout<<"Enter the Name"<<"\n";
    std::cout<<"Enter the Age"<<"\n";
    std::cin>>name;
    std::cin>>age;

    int mark1 = 100,mark2 = 98,mark3 = 100;
    int addvalue = mark1 + mark2 + mark3;
    std::cout<<"total mark = "<<(mark1 + mark2 + mark3);
    }

    ReplyDelete
  52. #include
    #include
    int main(){
    std::string name;
    int age,mark1,mark2,mark3;
    std::cout<<"Enter the Name"<<"\n";
    std::cin>>name;
    std::cout<<"Enter the Age"<<"\n";
    std::cin>>age;
    std::cout<<"Enter the mark1"<<"\n";
    std::cin>>mark1;
    std::cout<<"Enter the mark2"<<"\n";
    std::cin>>mark2;
    std::cout<<"Enter the mark3"<<"\n";
    std::cin>>mark3;
    int mark4, mark5, mark6;
    int addvalue= mark4 + mark5 + mark6;
    std::cout<<"total mark = "<<(mark1 + mark2 + mark3);
    std::cout<<"\n"<<"name:"<<name;
    std::cout<<"\n"<<"age:"<<age;
    std::cout<<"\n"<<"mark1:"<<mark1;
    std::cout<<"\n"<<"mark2:"<<mark2;
    std::cout<<"\n"<<"mark3:"<<mark3;
    return 0;
    }

    ReplyDelete
  53. my name is Dishitha
    #include
    #include
    int main(){
    std::string name;
    int age,mark1,mark2,mark3;
    std::cout<<"Enter the Name"<<"\n";
    std::cin>>name;
    std::cout<<"Enter the Age"<<"\n";
    std::cin>>age;
    std::cout<<"Enter the mark1"<<"\n";
    std::cin>>mark1;
    std::cout<<"Enter the mark2"<<"\n";
    std::cin>>mark2;
    std::cout<<"Enter the mark3"<<"\n";
    std::cin>>mark3;
    int mark4, mark5, mark6;
    int addvalue= mark4 + mark5 + mark6;
    std::cout<<"total mark = "<<(mark1 + mark2 + mark3);
    std::cout<<"\n"<<"name:"<<name;
    std::cout<<"\n"<<"age:"<<age;
    std::cout<<"\n"<<"mark1:"<<mark1;
    std::cout<<"\n"<<"mark2:"<<mark2;
    std::cout<<"\n"<<"mark3:"<<mark3;
    return 0;
    }

    ReplyDelete
  54. #include
    int main()
    {
    char name,age,mark1,mark2,mark3;
    std::cout<<"what is your name?"<<"\n";
    std::cin>>name;
    std::cout<<"what is your age?"<<"\n";
    std::cin>>age;
    std::cout<<"what is your kimia mark?"<<"\n";
    std::cin>>mark1;
    std::cout<<"what is your math mark?"<<"\n";
    std::cin>>mark2;
    std::cout<<"what is your fizik mark?"<<"\n";
    std::cin>>mark3;
    return 0;
    }

    ReplyDelete

  55. #include
    int main()
    {char rollnumber,name='karthickraj';
    int age =15 ;
    int TE=89,DOM=99,DME=86;
    std::cout<<"rollnumber:";
    std::cin>>rollnumber;
    std::cout<<"Name:karthickra"<<name<<"\n";
    std::cout<<"age:"<<age<<"\n";
    std::cout<<"Maths marks:"<<TE<<"\n";
    std::cout<<"English marks:"<<DOM<<"\n";
    std::cout<<"Social marks:"<<DME<<"\n";
    std::cout<<"total is:"<<(TE+DOM+DME);
    return 0;}

    ReplyDelete
  56. #include
    int main()
    {int M=76,SS=72,CS=98,E=87,S=78;
    int age=15,rollnumber;
    char Name='Karthickraj';
    std::cout<<"Enter your rollnumber:";
    std::cin>>rollnumber;
    std::cout<<"Name:Karthickra"<<Name<<"\n";
    std::cout<<"age:"<<age<<"\n";
    std::cout<<"Maths="<<M<<"\n";
    std::cout<<"socialScience:"<<SS<<"\n";
    std::cout<<"ComputerScience="<<CS<<"\n";
    std::cout<<"English="<<E<<"\n";
    std::cout<<"Science="<<S<<"\n";
    std::cout<<"Total="<<(M+SS+CS+E+S);
    return 0;}

    ReplyDelete
  57. #include
    using namespace std;
    int main()
    {
    char barvi;
    int age;
    int m1,m2,m3;
    cout<<"barvi"<<"\n";
    cout<<"enter age:"<<21<<"\n";
    cout<<"Enter mark 1:"<< "\n";
    cin>>m1;
    cout<<"Enter mark 2:"<< "\n";
    cin>>m2;
    cout<<"Enter mark 3:"<< "\n";
    cin>>m3;
    cout<<"Total marks:"<<(m1+m2+m3);
    return 0;
    }

    ReplyDelete
  58. #include
    int main(){
    char name ;
    int age, tamil mark,English mark,maths mark;
    std::cout<<"enter your name";
    std::cin>>name;
    std::cout<<"enter your age"
    std::cin>>age;
    std::cout<<"enter your tamil mark";
    std::cin>>tamil mark;
    std::cout<<"enter your English mark";
    std::cin>>English mark;
    std::cout<<"enter your maths mark";
    std::cin>>maths mark;
    std::cout<<name<<"\n"
    std::cout<<age;
    std::cout<<"your total marks";<<(tamil mark+English mark+maths mark);
    return 0
    }

    ReplyDelete
  59. http://tpcg.io/c6HZocMb

    I finsh the exercises bro plz see and tell me your commands !!!

    ReplyDelete
  60. #include
    using namespace std;
    int main(){
    string name;
    int number;
    int num1, num2, num3 ;
    cout<<"Enter the Name : ";
    cin>>name;
    cout<<"\nEnter the age : ";
    cin>>number;
    cout<<"\nEnter the Mark1: ";
    cin>>num1;
    cout<<"\nEnter the Mark2: ";
    cin>>num2;
    cout<<"\nEnter the Mark3: ";
    cin>>num3;
    cout<<"\nTotal marks = "<<(num1 + num2 + num3);
    return 0;
    }

    ReplyDelete
  61. #include // liberyflie
    int main() // main function
    {
    char name; // student name

    int age,mark1,mark2,mark3;//student age and marks


    std::cout<<"enter the name"<<"\n";
    std::cin>>name;

    std::cout<<"enter the age"<<"\n";
    std::cin>>age;

    std::cout<<"enter the mark1"<<"\n";
    std:: cin>>mark1;

    std:: cout<<"enter the mark2"<<"\n";
    std:: cin>>mark2;

    std::cout<<"enter the mark3"<<"\n\n";
    std::cin>>mark3;

    cout<<"total marks is ="<<mark1+mark2+mark3<<"\n\n\n";//adding mark1 and mark3
    cout<<"€ THE END €";
    return 0;


    }

    ReplyDelete
  62. My first own exercise and additional

    #include
    int main()
    {
    char name; //data type for alphabetic
    int age,m1,m2,m3,total; //datatype for integer
    std::cout<<"Enter the name and age of the Student :"; //character out
    std::cin>>name>>age; //character in
    std::cout<<"\n"<<"Enter Marks 1 2 3 :";
    std::cin>>m1>>m2>>m3;
    total=m1+m2+m3; //mathematical calculation
    std::cout<<"\n"<<"student record:";
    std::cout<<"\n"<<"Student Name"<<" " <<"Age"<<" "<<" "<<"Total marks"<<"\n";
    std::cout<<" "<<name<<" "<<age<<" "<<total;
    return 0;
    }


    result is:
    Enter the name and age of the Student :f 10
    Enter Marks 1 2 3 :65 90 99
    student record:
    Student Name Age Total marks
    f 10 254

    Thank you

    ReplyDelete
  63. My first program with Function

    First create a library file

    Math.h
    int add(int a,int b)
    {
    std::cout<<"\nadded value is:";
    return a+b;
    }


    File has included with library file Math.h

    #include
    #include "Math.h" //library file has included
    int getdata(int a,int b,int c); //function prototype for compiler to find
    int main()
    {
    std::cout<<"Hi Guys my first program with function\n";
    std::cout<<"--------------------------------------";
    std::cout<<"\nFunction caller output from user defined prototype";
    getdata(2,4,3); //arguments
    std::cout<<"\nFunction caller output from user defined library";
    std::cout<<add(6,8); //arguments
    }
    int getdata(int a,int b,int c) // function should be called and with parameters
    {
    std::cout<<"\nFunction called value is:";
    std::cout<<a+b-c;
    }

    ReplyDelete
  64. //my first c++ program #include // library files int main() // funtion{} { int name; // declare the variable int age; int mark1; int mark2; int mark3; std::cout<<"what is you name?"<<"\n"; //charactor input and out std::cin>>name; std::cout<<"how old are you?"<<"\n"; std::cin>>age; std::cout<<"mark1"<<"\n"; std::cin>>mark1; std::cout<<"mark2"<<"\n"; std::cin>>mark2; std::cout<<"mark3"<<"\n"; std::cin>>mark3; // print the value std::cout<>input print panna matikuthu ..........!!!!!!! why */ }

    ReplyDelete
  65. #include

    int main()
    {
    int a,b,d,f,g; //a,b are the two variables,d-date,f-month,g-year
    string c; //c-name
    char z = '/',y='/';
    int m1,m2,m3; //m1-mark1,m2-mark2,m3-mark3
    std::cout<<"Enter the two variable is:";
    std::cin>>a>>b;
    std::cout<<"sum of the two variable is:"<>c;
    std::cout<<"Enter the DOB";
    std::cin>>d;
    std::cin>>f;
    std::cin>>g;
    std::cout<<"DOB:"<>m1>>m2>>m3;
    std::cout<<"total:"<<m1+m2+m3;
    return 0;
    }

    ReplyDelete
  66. #include

    using namespace std;

    int main()
    {
    int a,b,d,f,g; //a,b are the two variables,d-date,f-month,g-year
    string c; //c-name
    char z = '/',y='/';
    int m1,m2,m3; //m1-mark1,m2-mark2,m3-mark3
    std::cout<<"Enter the two variable is:";
    std::cin>>a>>b;
    std::cout<<"sum of the two variable is:"<>c;
    std::cout<<"Enter the DOB";
    std::cin>>d;
    std::cin>>f;
    std::cin>>g;
    std::cout<<"DOB:"<>m1>>m2>>m3;
    std::cout<<"total:"<<m1+m2+m3;
    return 0;
    }


    ReplyDelete
  67. Hi

    Task Result
    --------------
    1
    21
    321
    4321
    54321
    ------------
    #include
    using namespace std;
    int main()
    {
    for(int out=1;out<=5;out++)
    {
    for(int sp=5-out;sp>0;sp--)
    cout<<" ";
    for(int in=out;in>0;in--)
    {
    cout<<in;

    }
    cout<<"\n";
    }
    return 0;
    }

    ReplyDelete
  68. #include
    #include
    using namespace std;
    int main()
    {
    string name;
    int age,m1,m2,m3,total;
    float avg;
    cout<<"ENTER YOUR NAME : ";
    cin>>name;
    cout<<"ENTER YOUR AGE : ";
    cin>>age;
    cout<<"ENTER MARK 1 : ";
    cin>>m1;
    cout<<"ENTER MARK 2 : ";
    cin>>m2;
    cout<<"ENTER MARK 3 : ";
    cin>>m3;
    total = m1+m2+m3;
    avg = total/3;
    cout<<"\n YOUR NAME IS : "<<name;
    cout<<"\n YOUR AGE IS : "<<age;
    cout<<"\n YOUR MARK 1 IS : "<<m1;
    cout<<"\n YOUR MARK 2 IS : "<<m2;
    cout<<"\n YOUR MARK 3 IS : "<<m3;
    cout<<"\n YOUR TOTAL OF 3 MARK IS :"<<total;
    cout<<"\n YOUR AVERAGE OF 3 MARK IS :"<<avg;
    return 0;
    }

    ReplyDelete
  69. #include
    #include

    int main()
    {
    std::string name;
    int age; // its "int" because value with no decimal.
    float mark1,mark2,mark3; // its "float" because value could be in decimal.

    std::cout<<"Enter your Name :";
    std::cin>>name;

    std::cout<<"Enter your Age :";
    std::cin>>age;

    std::cout<<"Enter your 1st mark :";
    std::cin>>mark1;
    std::cout<<"Enter your 2nd mark :";
    std::cin>>mark2;
    std::cout<<"Enter your 3rd mark :";
    std::cin>>mark3;
    std::cout<<"\n"<<"\n";

    std::cout<<"HELLO,"<<name<<" lets calculate your mark!"<<"\n"<<"\n";
    std::cout<<"name :"<<name<<"\n";
    std::cout<<"age :"<<age<<"\n";
    std::cout<<"Your 1st mark is : "<<mark1<<"\n";
    std::cout<<"Your 2nd mark is : "<<mark2<<"\n";
    std::cout<<"Your 3rd mark is : "<<mark3<<"\n";
    std::cout<<"Your Total Mark Is : "<<mark1+mark2+mark3<<"\n";

    return 0;
    }
    brother, if u interested in tutoring plzz contact my watsapp number +6 010-5618994. we can negotiate a good amount of fee. A student who need tutor/mentor from malaysia :(

    ReplyDelete
  70. Bro ennaku oru doubt anna first 'c' padikava illana c++ padikava

    ReplyDelete
  71. #include
    #include

    int main()
    {
    struct voter{
    int age;
    std::string name;
    };
    voter v1;
    v1.age;
    v1.name;
    voter v2;v2.age;
    v2.name;
    std::cout<<"what is u r name?\n";
    std::cin>>v1.name;
    std::cout<<"how old r u? \n";
    std::cin >>v1.age;
    if (v1.age>18)
    std::cout<<"u r eligible for voting\n";
    else
    std::cout<<"u r not eligible for voting\n";
    std::cout<<"what is u r name?\n";
    std::cin>>v2.name;
    std::cout<<"how old r u? \n";
    std::cin >>v2.age;
    if (v1.age>18)
    std::cout<<"u r eligible for voting\n";
    else
    std::cout<<"u r not eligible for voting\n";

    return 0;
    }


    ReplyDelete
    Replies
    1. #include
      #include

      int main()
      {
      struct voter{
      int age;
      std::string name;
      };
      voter v1;
      v1.age;
      v1.name;
      voter v2;v2.age;
      v2.name;
      std::cout<<"what is u r name?\n";
      std::cin>>v1.name;
      std::cout<<"how old r u? \n";
      std::cin >>v1.age;
      if (v1.age>18)
      std::cout<<"u r aligeble for voting\n";
      else
      std::cout<<"u r not aligeble for voting\n";
      std::cout<<"what is u r name?\n";
      std::cin>>v2.name;
      std::cout<<"how old r u? \n";
      std::cin >>v2.age;
      if (v2.age>18)
      std::cout<<"u r aligeble for voting\n";
      else
      std::cout<<"u r not aligeble for voting\n";

      return 0;
      }

      Delete
  72. #include
    #define MAX_LENGTH 100
    int main()
    {
    char name[MAX_LENGTH]={0};
    int age;
    int mark1;
    int mark2;
    int mark3;
    std::cout<<"Enter the name";
    std::cin>>name;
    std::cout<<"Enter tne age";
    std::cin>>age;
    std::cout<<"Enter the mark1";
    std::cin>>mark1;
    std::cout<<"Enter the mark2";
    std::cin>>mark2;
    std::cout<<"Enter the mark3";
    std::cin>>mark3;
    return 0;
    }

    ReplyDelete
  73. C++ assignment program:
    #include
    int main()
    {
    std::string name;
    int age,mark1,mark2,mark3,total;
    std::cout<<"Enter the student name"<<"\n";
    std::cin>>name;
    std::cout<<"Enter the student age"<<"\n";
    std::cin>>age;
    std::cout<<"Enter 1st marks of student"<<"\n";
    std::cin>>mark1;
    std::cout<<"Enter 2nd marks of student"<<"\n";
    std::cin>>mark2;
    std::cout<<"Enter 3rd marks of student"<<"\n";
    std::cin>>mark3;
    total=mark1+mark2+mark3;
    std::cout<<(total/3);
    return 0;
    }

    ReplyDelete
  74. #include
    int main()
    {
    std::string name;
    int age,mark1,mark2,mark3,total,avg;
    std::cout<<"Enter the student name"<<"\n";
    std::cin>>name;
    std::cout<<"Enter the student age"<<"\n";
    std::cin>>age;
    std::cout<<"Enter 1st marks of student"<<"\n";
    std::cin>>mark1;
    std::cout<<"Enter 2nd marks of student"<<"\n";
    std::cin>>mark2;
    std::cout<<"Enter 3rd marks of student"<<"\n";
    std::cin>>mark3;
    total=mark1+mark2+mark3;
    avg=(total/3);
    std::cout<<"\n"<<"name :"<<name;
    std::cout<<"\n"<<"age :"<<age;
    std::cout<<"\n"<<"mark1 :"<<mark1;
    std::cout<<"\n"<<"mark2 :"<<mark2;
    std::cout<<"\n"<<"mark3 :"<<mark3;
    std::cout<<"\n"<<"total :"<<total;
    std::cout<<"\n"<<"avg :"<<avg;

    ReplyDelete
  75. Bro I done the 1st chapter
    And that c++ coding bro
    Pls me contact
    mukeshka97@gmail.com

    ReplyDelete
    Replies
    1. #include
      using namespace std;

      int main()
      {
      string n;
      int a, m1, m2, m3, t;
      cout << "Enter tha name : ";
      cin >> n;
      cout << "Enter the age : ";
      cin >> a;
      cout << "Enter the mark1: ";
      cin >> m1;
      cout << "Enter the mark2: ";
      cin >> m2;
      cout << "Enter the mark3: ";
      cin >> m3;
      cout << "Total : "<< m1+m2+m3;
      return 0;
      }


      OUTPUT:

      Enter tha name : gopal
      Enter the age : 17
      Enter the mark1: 60
      Enter the mark2: 61
      Enter the mark3: 62
      Total : 183

      Delete
  76. #include //this is a library
    int main() //the rule in c++
    { //the rule in c++ for begining all statement from developer
    std::string name ; //varibles for user name store
    int age ; //variable for user age store
    float mark1 , mark2 ,mark3 ; //variable for user 3 subjects marks store
    std::cout<<"Enter your name"<<"\n" ; // display for user
    std::cin>>name ; // get name detail from user
    std::cout<<"Enter your age"<<"\n" ; //display for user
    std::cin>>age ;//get age detail from user
    std::cout<<"Enter your 3 subject marks"<<"\n" ;// display for user
    std::cin>>mark1>>mark2>>mark3 ;//get mark detail from user
    std::cout<<"Name :"<<name << "\n" ;//show user name
    std::cout<<"Age :"<< age <<"\n";//show user age
    std::cout<<"Total Mark :"<<mark1+mark2+mark3 ; //show user total mark
    return 0 ; //the in c++
    } //the rule in c++ for end all statements from developer

    ReplyDelete
  77. // Online C++ compiler to run C++ program online
    #include

    int main() {
    int name;
    std::cout<<"Enter Your name:";
    std::cin>>name;
    int age;
    std::cout<<"Enter Your age:";
    std::cin>>age;
    int mark1,mark2,mark3;
    std::cout<<"Enter your Mark1,Mark2,Mark3:"<<"\n";
    std::cin>>mark1>>mark2>>mark3;
    std::cout<<"Total Mark:"<<"\n";
    std::cout<<mark1+mark2+mark3;

    return 0;
    }
    Bro ithu correct aha

    ReplyDelete

  78. #include

    int main() {
    int a1 = 1, a2 = 1;
    // Write C++ code here
    std::cout << "a1+a2";
    std::cin>>"a1+a2"
    return 0;
    }
    Bro this right or wrong please tell me bro

    ReplyDelete
  79. #include
    int main()
    {
    char name='surenthar';
    int age=16;
    int tam=90,eng=85,mat=94;
    std::cout<<"name : "<<name<<"\n";
    std::cout<<"age : "<<age<<"\n";
    std::cout<<"tamil : "<<tam<<"\n";
    std::cout<<"english : "<<eng<<"\n";
    std::cout<<"maths : "<<mat<<"\n";
    std::cout<<"total : "<<tam+eng+mat;
    return 0;
    }

    ReplyDelete
  80. // Hello bro , I am Jana

    //My program :
    #include// library file.......
    #include
    int main()
    {
    std::string name; // bro this one line changing the program before I use this char name; //keyword
    int age;
    int mark1;
    int mark2;
    int mark3;

    std::cout<<"1.Enter your name :";
    std::cin>>name;

    std::cout<<"2.Enter your age :";
    std::cin>>age;

    std::cout<<"3.Your random subject mark1 :";
    std::cin>>mark1;

    std::cout<<"4.Your random subject mark2 :";
    std::cin>>mark2;

    std::cout<<"5.Your random subject mark3 :";
    std::cin>>mark3;

    std::cout<<"\n"<<"name :"<<name<<"\n";
    std::cout<<"age :"<<age<<"\n";
    std::cout<<"mark1 :"<<mark1<<"\n";
    std::cout<<"mark2 :"<<mark2<<"\n";
    std::cout<<"mark3 :"<<mark3<<"\n";
    std::cout<<"Total marks = "<<mark1 + mark2 + mark3;

    return 0;
    }

    ReplyDelete
  81. #include
    int main()
    {
    int n1;
    int age =16;
    int tamil= 96, english =71, maths = 86, science = 90, social = 93;
    int total = tamil+english+ maths+science+social;
    int percentage = total/5;
    std::cout << "What is your name for n1: ";
    std::cin>>n1;
    std::cout << "Age: " << age << "\n";
    std::cout <<"***************************" << "\n";
    std::cout<< "Tamil: " << tamil << "\n" << "English: " << english << "\n" << "Maths: " << maths << "\n" << "Science:" << science << "\n" << "Social: " << social << "\n";
    std::cout << "-----------------------------" << "\n";
    std::cout << "Total: " << total << "\n";
    std::cout << "--------------------------" << "\n";
    std::cout << "Percentage: " << percentage << "\n";
    return 0;
    }

    ReplyDelete
  82. #include
    int main()
    {
    std::string name;
    int age,mark1,mark2,mark3;
    std::cout<<"enter the name :"<<"\n";
    std::cin>>name;
    std::cout<<"enter the age:"<<"\n";
    std::cin>>age;
    std::cout<<"enter the mark1 and mark2 and mark3"<<"\n";
    std::cin>>mark1>>mark2>>mark3;
    std::cout<<"total is:"<<mark1+mark2+mark3;
    return 0;
    }

    ReplyDelete
  83. #include
    #include
    int main(){
    std::string Name;
    float Averege,Age,M1,M2,M3,M4,M5,M6;
    std::cout<<"Fil Bleow:-\n";
    std::cout<<"Enter Name:";
    std::cin>>Name;
    std::cout<<"Age:";
    std::cin>>Age;
    std::cout<<"Tamil Mark:";
    std::cin>>M1;
    std::cout<<"English Mark:";
    std::cin>>M2;
    std::cout<<"Maths Mark:";
    std::cin>>M3;
    std::cout<<"Physics Mark:";
    std::cin>>M4;
    std::cout<<"Chemistry Mark:";
    std::cin>>M5;
    std::cout<<"Computer Science:";
    std::cin>>M6;
    std::cout<<"\n"<<"Name:"<<Name<<"\n"<<"Age:"<<Age<<"\n"<<"Tamil Mark:"<<M1<<"\n"<<"English Mark:"<<M2<<"\n"<<"Maths Mark:"<<M3<<"\n"<<"Physics MArk:"<<M4<<"\n"
    <<"Chemistry Mark:"<<M5<<"\n"<<"Computer Science:"<<M6<<"\n"<<"Total Mark:"<<(M1+M2+M3+M4+M5+M6)<<"\n"<<"Averege:"<<(M1+M2+M3+M4+M5+M6)/6;
    return 0;
    }

    ReplyDelete
  84. This comment has been removed by the author.

    ReplyDelete
  85. // First Program
    #include
    #include
    int main ()
    {
    std::string name;
    int age;
    int mark1,mark2,mark3;
    std::cout<<"Enter your name :" ;
    std::cin>>name;
    std::cout<<"\n"<<"Enter your age :" ;
    std::cin>>age;
    std::cout<<"\n"<<"mark1= ";
    std::cin>>mark1;
    std::cout<<"\n"<<"mark2=";
    std::cin>>mark2;
    std::cout<<"\n"<<"mark3=";
    std::cin>>mark3;

    std::cout<<"Total marks="<<mark1+mark2+mark3;
    return 0 ;
    }

    ReplyDelete
  86. //Get Data Method
    #include
    #include
    int getdata() {// User defined
    std::string name;
    int age;
    int mark1,mark2;
    std::cout<<"write your name and age :";
    std::cin>>name>>age;
    std::cout<<"\n"<<"mark1 =";
    std::cin>>mark1;
    std::cout<<"\n"<<"mark2 =";
    std::cin>>mark2;
    std::cout<<"\n"<<"Total marks="<<mark1+mark2<<"\n";
    return 0 ;
    }
    int main ()
    {
    std::cout<<"Get Data Method"<<"\n";
    getdata();
    getdata();
    getdata();
    return 0 ;
    }

    ReplyDelete
  87. //Arguments and Parameters
    #include
    #include
    int add (int a,int b,int c);
    int main ()
    { std::cout<<"Arguments and Parameters"<<"\n";
    add(4,5,6);
    add(7,8,9);
    add(10,11,12);
    return 0 ;
    }
    int add(int a,int b,int c)//Parameters
    {
    std::cout<<a+b-c<<"\n";
    return 0 ;
    }

    ReplyDelete
  88. //hi! this is my first program.
    #include //""this is the library file.
    int main()
    {
    char name[]="S.Tharun Vasu"; //name
    int age=13; //age
    int mark1=56; //mark1
    int mark2=58; //mark2
    int mark3=60; //mark3
    int total=mark1+mark2+mark3; //total mark

    std::cout<<"Name is=>"<<(name)<<"\n";
    std::cout<<"Age is=>"<<(age)<<"\n";
    std::cout<<"Your total is=>"<<(total);
    return 0;
    }

    ReplyDelete
  89. Bro who to get marks multipled

    #include

    int main()
    {
    int a = 47 , b = 2;
    int a1 = 47 , b1 = 2;
    int a2 = 47 , b2 = 2;
    std::cout << "XII ";
    std::cout << "Names ";
    std::cout << "Marks "<<"\n";
    std::cout << "A ";
    std::cout << "Nishaanth "; std::cout << 'a*b '<<"\n";
    std::cout << "B ";
    std::cout << "Sujith ";
    std::cout << 'a1*b1 '<<"\n";
    std::cout << "C ";
    std::cout << "Gowresh ";
    std::cout << 'a2*a2 '<<"\n";
    return 0;
    }


    Output

    XII Names Marks
    A Nishaanth 538976288
    B Sujith 538976288
    C Gowresh 538976288

    ReplyDelete
  90. #include
    int main()
    {
    char rollnumber;
    char name='Y';
    int grade= 12;
    int age = 19;
    int DE=90,EM=85,ENG=94;

    std::cout<<"enter the rollnumber"<<"\n";
    std::cin>>rollnumber;
    std::cout<<grade<<"\n",
    std::cout<<name<<"\n";
    std::cout<<"Age"<<age<<"\n";
    std::cout<<"Digital Electronics:"<<DE<<"\n";
    std::cout<<"Electrical Machines:"<<EM<<"\n";
    std::cout<<"English:"<<ENG<<"\n";
    std::cout<<"TOTAL="<<(DE+EM+ENG);
    return 0;
    }

    OUTPUT
    enter the rollnumber
    20309726
    12
    Y
    Age19
    Digital Electronics:90
    Electrical Machines:85
    English:94
    TOTAL=269
    THANK YOU BRO

    ReplyDelete
  91. #include
    #include
    using namespace std;
    int main ()
    {
    string name;
    int age;
    int mark1;
    int mark2;
    int mark3;

    cout<<"what is your name?";
    cin>>name;

    cout<<"\n"<<"what is your age?";
    cin>>age;

    cout<<"\n"<<"enter mark 1?";
    cin>>mark1;

    cout<<"\n"<<"enter mark2?";
    cin>>mark2;

    cout<<"\n"<<"enter mark3?";
    cin>>mark3;

    cout<< mark1+mark2+mark3;
    return 0;

    ReplyDelete
  92. #include
    #include
    int main(){
       std::string name; // string data type
       int age, mark1, mark2, mark3;  // string data type
       std::cout<<"Please enter your Name: "<<"\n";
       std::cin>>name;
       std::cout<<"Please enter your Age"<<"\n";
       std::cin>>age;
       std::cout<<"Enter mark1:"<<"\n";
       std::cin>>mark1;
       std::cout<<"Enter Mark2:"<<"\n";
       std::cin>>mark2;
       std::cout<<"Enter Mark3"<<"\n";
       std::cin>>mark3;
       std::cout<<"Total Mark:"<<(mark1+mark2+mark3); // calculate total marks
       return 0;
       }

    ReplyDelete
  93. #include
    using namespace std;
    int main(){
    int out, in, k;
    for(out=1;out<=5;out++){
    for(k=5-out; k>0; k--)
    cout<<" " " ";
    for(in=1; in<=out; in++){
    cout<<in<<" ";
    }
    cout<<"\n";
    }
    return 0;
    }

    ReplyDelete
  94. #include

    int main()
    {
    std::cout<<"Departmental Stores - Buy Any Products with 10% Discount"<<"\n"; //hereby I decalre what is the shop and the shop provides discount of 10% for every products
    int a,b,c,d,e; //for eg, here i am going to but 5 products
    std::cin>>a;
    std::cin>>b;
    std::cin>>c;
    std::cin>>d;
    std::cin>>e; //i have bought the five products, and i am seeing the price of each
    int g = (a-(a*0.1))+(b-(b*0.1))+(c-(c*0.1))+(d-(d*0.1))+(e-(e*0.1)); //shopkeeper provides the mentioned discount to each product
    std::cout<<"Total Rupees = "<>m;
    std::cout<<"\n"<<(m-g); //then, the shopkeepergives me the remaining balance to me
    return 0;
    }

    ReplyDelete
  95. #include
    using namespace std;
    int main()
    {

    int name,age,dob,mark1=18,mark2=20,mark3=17,sum;

    std::cout<<"name of the student:"<<"\n";
    std::cin>>name;


    std::cout<<"enter u r age:"<<"\n";
    std::cin>>age;

    std::cout<<"enter mark 1:"<<"\n";
    std::cin>>mark1;


    std::cout<<"enter mark 2:"<<"\n";
    std::cin>>mark2;


    std::cout<<"enter mark 3:"<<"\n";
    std::cin>>mark3;


    std::cout<<"name:"<<"\n";
    std::cin>>name;
    std::cout<<"age"<<"\n";
    std::cin>>age;
    std::cout<<"mark1:"<<"\n";
    std::cin>>mark1;
    std::cout<<"mark2:"<<"\n";
    std::cin>>mark2;
    std::cout<<"mark3:"<<"\n";
    std::cin>>mark3;


    sum =mark1+mark2+mark3;
    std::cout<<"total="<<sum<<"\n";
    std::cout<<"average="<<sum/3;





    }

    out put:

    name of the student:
    kumar
    enter u r age:
    enter mark 1:
    enter mark 2:
    enter mark 3:
    name:
    age
    mark1:
    mark2:
    mark3:
    total=55
    average=18
    --------------------------------
    Process exited after 5.06 seconds with return value 0
    Press any key to continue . . .


    bro, i done some mistake in my program. i don't know what is it. my program is running without error but the out is not comes what i expected and what u said to do. I cant give any input in my cmt prompt even i mentioned (cin statement) . what is the mistake i have done in this. and then if i give return statement their come a error msg and shows(SOMETHING IS RETURNED 1) this error is coming again and again!!

    ReplyDelete
  96. #include //this is a libary file
    int main(){
    std::string name;
    std::cout <<" enter your full name "<<"\n";
    getline (std::cin, name);
    std::string age;
    std::cout << "how old are you "<<"\n";
    getline (std::cin, age);
    float m1 , m2, m3 ;
    std::cout<<"enter the mark 1 "<<"\n";
    std::cin>>m1;
    std::cout<<"enter the mark 2 "<<"\n";
    std::cin>>m2;
    std::cout<<"enter the mark 3 "<<"\n";
    std::cin>>m3;
    std::cout<<"total is :"<<(m1+m2+m3)<<"\n";
    return 0;
    }

    ReplyDelete
  97. #include
    #include

    int data(){
    std::string name;
    int index;
    std::cout<<"Enter Your Name And Index Number \n";
    std::cin>>name>>index;
    return 0;
    }

    int main(){
    std::cout<<"HI STUDENTS WELCOME TO OUR SCHOOL \n";
    data();
    data();
    data();
    }

    ReplyDelete
  98. add(int t,int m){ //inspired from TAMIL HACKS - தமிழ் HACKS it i my own library file

    return t+m;
    }


    sub(int t,int m){

    return t-m;
    }


    divi(int t,int m){

    return t/m;
    }


    mult(int t,int m){

    return t*m;
    }


    program
    #include
    #include"first l.h" // this is my own library file


    int main(){

    std::cout<<mult(10,5);
    return 0;
    }

    ReplyDelete
  99. //example
    #include
    #include

    int main()
    {
    std::string name;
    int age;
    Int mark1;
    Int mark2;
    Int mark3;

    Std::cout<<"enter the name"<<"\n";
    Std::cin>>name;

    Std::cout<<"enter the age"<<"\n";
    Std::cin>>age;

    std::cout<<"enter the mark 1"<<"\n";
    std::cin>>mark1;

    std::cout<<"enter the mark2"<<"\n";
    std::cin>>mark2;

    std::cout<<"enter the mark3"<<"\n";
    sd::cin>>mark3;

    std::cout<< "total mark:"<<mark1 +mark2 +mark3;

    return 0;
    }

    ReplyDelete
  100. #include

    int main() {
    char n;
    int a,t,e,m;
    std::cout<<"type the name"<<"\n";
    std::cin>>n;
    std::cout<<"type the age"<<"\n";
    std::cin>>a;
    std::cout<<"type the tamil mark"<<"\n";
    std::cin>>t;
    std::cout<<"type the english mark"<<"\n";
    std::cin>>e;
    std::cout<<"type the maths mark"<<"\n";
    std::cin>>m;
    std::cout<<"Name :"<<n<<"\n";
    std::cout<<"Age :"<<a<<"\n";
    std::cout<<"Tamil Mark :"<<t<<"\n";
    std::cout<<"Eng;ish Mark :"<<e<<"\n";
    std::cout<<"Maths Mark :"<<m<<"\n";

    return 0;
    }

    ReplyDelete
  101. int name;
    int age ;
    int mark1;
    int mark2;
    int mark3;
    std::cout<<"name="<>name;
    std::cout<<"age="<>age;
    std::cout<<"mark1="<>mark1;
    std::cout<<"mark2="<>mark2;
    std::cout<<"mark3="<>mark3;

    std ::cout <<"total mark="<<mark1+mark2+mark3;
    return 0;
    }

    ReplyDelete
  102. "This is the work u gige in part 2 class"

    #include #include
    #include"my library.h"

    int function ()
    {
    std::string name;
    int age;

    std::cout <<"what is your name"<<"\n";
    std::cin>>name;

    std::cout<< "what is your age"<<"\n";
    std::cin>>age;

    std::cout<< "name -"<

    int add(int a, int b)
    {
    return a+b;
    }

    ReplyDelete
  103. #include
    #include

    int main()
    {
    int m1,m2;
    int age=19;
    std::cout<<"age:"<>m1;
    std::cout<<"enter the value for m1";
    std::cin>>m2;
    std::cout<<"total:"<<(m1+m2);


    return 0;

    }

    ReplyDelete
  104. #include
    int main(){
    char name=prithivi
    char age=16;
    char mark1=85;
    char mark2=86;
    char mark3=83;
    std::cout<<"total"<<"mark1+mark2+mark3";
    std::cout<<"age";
    std::cout<<"name";
    }

    return 0;

    ReplyDelete

  105. #include
    int main(){
    std::cout<<"student name:"<<"kavi"<<"\n";
    std::cout<<"student age:"<<16<<"\n";
    std::cout<<"mark1:"<<82<<"\n";
    std::cout<<"mark2:"<<79<<"\n";
    std::cout<<"mark3:"<<99<<"\n";

    return 0;
    }

    ReplyDelete
  106. #include //library//
    int main(){

    std::cout<<"hello world\n";



    int age,mark1,mark2,mark3;



    std::cout<<"enter your age,mark1,mark2,mark3\n";
    std::cin>>age>>mark1>>mark2>>mark3;
    std::cout<<"your average mark is :"<<(mark1+mark2+mark3)/3<<"\n";


    float a,b;
    std::cout<<"enter the a value and b value\n";
    std::cin >>a>>b ;

    std::cout<<"answer 1 is :"<<(a+b)*5<<"\n";
    std::cout<<"answer 2 is :"<<(a/b)*5<<"\n";
    char name;
    std::cout<<"enter your name\n";
    std::cin>>name;
    return 0;}

    ReplyDelete
  107. #include
    int main()
    {
    char name[10];
    int age;
    int mark1, mark2, mark3;
    int total;

    std::cout<<"Enter your name,age,mark1,mark2,mark3: ";
    std::cin>>name>>age>>mark1>>mark2>>mark3;


    total=mark1+mark2+mark3;

    std::cout<<"name"<<'\t'<<'\t'<<"age"<<'\t'<<"mark1"<<'\t'<<"mark2"<<'\t'<<"mark3"<<'\t'<<"total"<<'\n';
    std::cout<<"==================================================================================="<<'\n';
    std::cout<<name<<'\t'<<'\t'<<age<<'\t'<<mark1<<'\t'<<mark2<<'\t'<<mark3<<'\t'<<total;

    return 0;
    }

    ReplyDelete
  108. #include

    int main()

    {

    char name;
    int age;

    int mark1 , mark2 , mark3 ;


    std::cout<<"what is your name";
    std::cin>>name;

    std::cout<<"what is your age";
    std::cin>>age;


    std::cout<<"mark 1 :";
    std::cin>>mark1;
    std::cout<<"mark 2 :";
    std::cin>>mark2;
    std::cout<<"mark 3 :";
    std::cin>>mark3;


    std::cout<<"total score :"<<mark1 + mark2 + mark3;



    }

    ReplyDelete
  109. #include
    #include

    int main()
    {
    std::string Name;
    std::cout<<"What is your Name ";
    std::cin>>Name;
    int age;
    std::cout<<"what is your age ";
    std::cin>>age;

    int mark1, mark2, mark3;
    std::cout<<"enter mark1 ";
    std::cin>>mark1;
    std::cout<<"enter mark2 ";
    std::cin>>mark2;
    std::cout<<"enter mark3 ";
    std::cin>>mark3;

    std::cout<<"total "<<mark1+mark2+mark3<<"\n";



    return 0;

    }

    ReplyDelete
  110. #include
    using namespace std;
    int main()
    {
    char name[]="AbiNeeraj";
    int age=18;
    int mark1=98;
    int mark2=99;
    int mark3=99;
    int total=mark1+mark2+mark3;

    std::cout<<"Name is:/n"<<(name);
    std::cout<<"Age is:/n"<<(age);
    std::cout<<"Your total is:/n"<<(total);
    return 0;

    }


    Is it correct anyone reply?

    ReplyDelete
  111. #include
    int main()
    {
    int age =18;
    int m=60,p=70,c=80;
    std::cout<<"student name=";
    std::cout<<"v.Anand"<<"\n";
    std::cout<<"maths="<<m<<"\n";
    std::cout<<"physics="<<p<<"\n";
    std::cout<<"computer="<<c<<"\n";
    std::cout<<"total mark="<<m+p+c;
    return 0;

    }

    ReplyDelete
  112. Bro can you please upload NEXT PART OF THE VIDEO ABOUT C++ programming Language

    ReplyDelete
  113. This comment has been removed by the author.

    ReplyDelete
  114. Hi. I am a beginner and have only watched 2 videos when I am entering this code. I have written codes to enter marks of 2 students. Is it ok or can be simplified further?

    #include
    #include

    int getdata ();


    int main()
    {
    getdata();
    getdata();
    return 0;
    }

    int getdata()
    {
    std::string a;

    std::cout<<"Name:";
    std::cin>>a;

    int b,c,d,e,f,g;

    std::cout<<"class:";
    std::cin>>b;
    std::cout<<"Tamil:";
    std::cin>>c;
    std::cout<<"English:";
    std::cin>>d;
    std::cout<<"Maths:";
    std::cin>>e;
    std::cout<<"Science:";
    std::cin>>f;
    std::cout<<"Social:";
    std::cin>>g;
    std::cout<<"Total marks:"<<c+d+e+f+g<<"\n\n";
    return 0;
    }

    ReplyDelete
  115. For pattern #practice
    #include
    int main()
    Int out
    For(out=5; 5>= out; out--)
    {
    int in
    for (in=5; in>=out; in--);
    {
    std::cout<<n<<" ";
    }
    std::cout<<\n";
    return o;
    }

    ReplyDelete
  116. For pattern making video program
    #include
    int main()
    Int out
    For(out=5; 5>= out; out--)
    {
    int in
    for (in=5; in>=out; in--);
    {
    std::cout<<n<<" ";
    }
    std::cout<<\n";
    return o;
    }

    ReplyDelete
  117. #include //libaryfile
    int main()// keyword
    {
    int age; //
    int mark; // keyword for numder
    int mark2; //
    int mark3; //
    std::cout<<"what is your age";
    std::cin>>age;
    std::cout<<" what is your mark"; // karthick bro thank you for teaching
    std::cin>>mark;
    std::cout<<"what is your mark2";
    std::cin>>mark2;
    std::cout<<"what is your mark3";
    std::cin>>mark3;
    std::cout<< "answer 1 is :"<<(mark+mark2)*age;
    return 0;
    }

    ReplyDelete
  118. hi bro my first program because of you thank you
    #include
    #include
    int getdata()
    {
    std::string name;
    int age;
    int mark1;
    int mark2;
    int mark3;
    std::cout<<"what is your name?"<<"\n";
    std::cin>>name;
    std::cout<<"what is your age?"<<"\n";
    std::cin>>age;
    std::cout<<"what is mark1,mark2,mark3?"<<"\n";
    std::cout<<"mark1:";
    std::cin>>mark1;
    std::cout<<"mark2:";
    std::cin>>mark2;
    std::cout<<"mark3:";
    std::cin>>mark3;
    std::cout<<"\n"<<"name:"<<name<<"\n";
    std::cout<<"age:"<<age<<"\n";
    std::cout<<"mark1:"<<mark1<<"\n";
    std::cout<<"mark2:"<<mark2<<"\n";
    std::cout<<"mark3:"<<mark3<<"\n";
    std::cout<<"total mark:"<<mark1+mark2+mark3<<"\n"<<"\n";
    return 0;
    }
    int main()
    {
    getdata();
    getdata();
    getdata();
    getdata();
    }

    ReplyDelete
  119. int out, in, i;
    for (out=5; out>0 ;out--)
    {
    for (i=out-1; i>0; i--)
    {
    cout <<" "<<" ";
    }
    for (in = 5; in>=out; in--)
    {
    cout<<in<<" ";
    }
    }
    }

    ReplyDelete
  120. // My fast program
    //Lovely Sarathi
    #include
    #include
    int main() {
    std::string name;
    int age;
    int mark1;
    int mark2;
    int mark3;


    std::cout <<"enter the name?";
    std::cin>>name;

    std::cout <<"enter the age";
    std::cin>>age;

    std::cout <<"enter the mark1";
    std::cin>>mark1;

    std::cout <<"enter the mark2";
    std::cin>>mark2;

    std::cout <<"enter the mark3";
    std::cin>>mark3;



    std::cout<<"\n"<<"name:"<<name;
    std::cout<<"\n"<<"age:"<<age;
    std::cout<<"\n"<<"mark1:"<<mark1;
    std::cout<<"\n"<<"mark2:"<<mark2;
    std::cout<<"\n"<<"mark3:"<<mark3;
    std::cout<<"\n"<<"total mark"<<mark1+mark2+mark3;


    return 0;
    }

    ReplyDelete
  121. #include
    int add(int a,int b,int c);
    int bio()
    {
    std::string name;
    std::cout<<"enter your name :";
    std::cin>>name;
    std::cout<>name;
    std::cout<<name<<"\n";
    bio();
    add(3,8,10);
    return 0;
    }
    int add (int a,int b,int c)
    {
    std::cout<<a+b+c<<"\n";
    return 0;
    }
    bro my coding

    ReplyDelete
  122. #include
    #include


    int main() {
    std::string name;
    int age;
    int phyMarks;
    int cheMarks;
    int matMarks;

    std::cout<<"Enter your name:";
    std::cin>>name;
    std::cout<<"Enter your age:";
    std::cin>>age;
    std::cout<<"Enter your phyMark:";
    std::cin>>phyMarks;
    std::cout<<"Enter your cheMark:";
    std::cin>>cheMarks;
    std::cout<<"Enter your matMark:";
    std::cin>>matMarks;

    std::cout<< name <<" Your total mark is" << "\n Total mark = " << phyMarks + cheMarks + matMarks << "\n";

    ReplyDelete
  123. bro full name vara matenguthu why?
    pls reply me!

    ReplyDelete
  124. int main()
    {
    std::string name;
    int age =24;
    int Rollnumber = 13579;
    int english = 75 , maths = 83 , science = 94;
    std::cout<<"what is your Roll number :";
    std::cin>>Rollnumber;
    std::cout<<"Name :Rashith"<<name<<"\n";
    std::cout<<"age :"<<age<<"\n";
    std::cout<<"English mark :"<<english<<"\n";
    std::cout<<"Maths mark :"<<maths<<"\n";
    std::cout<<"Science mark :"<<science<<"\n";
    std::cout<<" ___"<<"\n";
    std::cout<<"TOTAL MARK ="<<english+maths+science<<"\n";
    std::cout<<" ---";
    return 0;
    }

    ReplyDelete
  125. #include


    int main()
    {
    float name , age , m1 ,m2,m3;
    std::cout<<"enter your name=";
    std::cin>>name;
    std::cout<<"enter your age=";
    std::cin>>age;
    std::cout<<"enter your maths marks =";
    std::cin>>m1;
    std::cout<<"enter your social marks =";
    std::cout<<"enter your science marks=";
    std::cin>>m3;
    std::cout<<(m1+m2+m3)*100/300;
    return 0 ;
    }

    ReplyDelete
  126. //based on your 2nd video
    // my library file
    /*add(int a, int b )
    {
    return a+b;
    }

    sub(int a , int b)
    {
    return a-b;
    }

    div(int a ,int b)
    {
    return a/b;
    }

    mx(int a , int b)
    {
    return a*b;
    }
    */


    #include
    #include
    #include "calculator.h"

    int getdata(int a , int b )
    {
    std::cout<>a>>b;
    std::cout<<"Your Otp For logined Website in Your Default Browser"<<"\n";
    getdata(5,547586);
    std::cout<<"\n"<<"If Otp does not work contact sofiyasenthilkumar@gmail.com"<<"\n";
    add(5,4);
    div(6,9);
    mx(6,58);
    sub(6,85);
    std::cout<<"Support me buying a car 0-0."<<"\n"<<"Visit millap/random/015/FakeLink";
    }

    ReplyDelete
  127. 2 add 2 div = ans *5
    answer: // Online C++ compiler to run C++ program online
    #include
    int main()
    {
    int a=5;
    int b;
    b=5;
    int a1,b1;
    int a2=2,b2=3;
    std::cout<<a+a2,b/b2*5;
    return 0;
    }

    ReplyDelete
  128. #include //library file
    int main() //function
    {
    //this is c++ program
    char name,age;
    std::cout<<"name = avinash"<<"\n";

    std::cout<<"age = 12"<<"\n";


    int mark1,mark2;
    std::cout<<"enter the value for mark1"<<"\n";
    std::cin>>mark1;

    std::cout<<"enter the value for mark2"<<"\n";
    std::cin>>mark2;


    std::cout<<"the answer 2 is"<<mark1+mark2;
    return 0;
    }

    ReplyDelete

  129. #include

    int main() {

    std::cout<<"prakash"<<"\n";
    int age=17;
    std::cout<<age<<"\n";
    int ta=81;
    int en=60;
    int cs=94;
    std::cout<<"total"<<"\n";
    std::cout<<ta+en+cs;
    return 0;
    }

    ReplyDelete

Post a Comment

Popular posts from this blog

Get Ethical Hacking Project #1

Thanks for your interest in our course This is a paid course, 150 rs for Indian people, 5$ for international people Instructions to get course: Indian people can get the course by paying using this UPI id   tamilhacks@ybl  (KARTHIKEYAN T) send 150 Rs to this upi id with subject bug bounty and after payment take a screenshot and send that to email id tamilhackstech@gmail.com - you will get the course within 24 hours. (there will be no tax, when paying using upi id)     The above mentioned method is most preferable. if you don't have a upi id app, install  phonepe  or  google pay   app and register there and pay easily  or  pay here using the alternate method to get this course, this link cost 18% gst for the course . (nearly 30-100 Rs for tax and other charges here )   After payment you will receive a payment confirmation mail along with a downlink for the course, you can download the course file using that . the course is in zip format, so after downloading the file extra

Get Bug Bounty Course

Thanks for your interest in our course Limited Offer This is a paid course, Rs 10000 ,Rs 1000  for Indian people, 75$ 15$ for international people , 50$ 10$ for Srilankan people Instructions to get course: Indian people can get the course by paying using this UPI id  tamilhacks@ybl  send 1000 Rs to this upi id with subject bug bounty and after payment take a screenshot and send that to email id tamilhackstech@gmail.com - you will get the course within 24 hours. (there will be no tax, when paying using upi id)    The above mentioned method is most preferable. if you don't have a upi id app, install phonepe or google pay   app and register there and pay easily  or  pay here using the alternate method to get this course, this link cost 18% gst for the course . (nearly 30-100Rs for tax and other charges here ) After payment you will receive a payment confirmation mail along with a downlink for the course, you can download the course file using that. As for international peopl