Friday, May 17, 2013

Program C++ 10 Creat Code Program

Name : Om Chanlyta
Major : TMD
NIM : 49012081

Hello teacher below is my video and code program  to say about Create Code Program about Average Student.

/*Average of Student
  Name : Om Chanlyta
  NIM : 49012081
  ======================*/
#include<iostream>
using namespace std;
  double Total;
  double Db,C,CC,Arc,Net,TotalAverage;
  int FunctionAverage(double TotalAverage)
  {
    cout<<"Please input point of C++ program"<<endl;
    cin>>CC;
    cout<<endl;
    cout<<"Please input point of Database"<<endl;
    cin>>Db;
    cout<<endl;
    cout<<"Please input point of C progarm" <<endl;
    cin>>C;
    cout <<endl;
    cout<<"Please input point of Architicture" <<endl;
    cin>>Arc;
    cout <<endl;
    cout<<"Please input point of Network" <<endl;
    cin>>Net;
    cout <<endl;
    TotalAverage = (CC+Db+C+Arc+Net)/5;
    cout<<"Average point of student are epual"<<TotalAverage<<endl;
    return TotalAverage;
  }

  int main()
  {
      int Amount,i,NIM;
      char Name[20];
      cout<<"Please Input Amount of Student \n";
      cin>>Amount;
      do{
          cout<<"===============================================\n\n";
          for(i=1; i<=Amount; i++){
            cout<<"Name : ";
            cin>>Name;
            cout<<endl;
            cout<<"NIM : ";
            cin>>NIM;
            cout<<endl;
            Total = FunctionAverage(Total);
            if(Total<=100 && Total>=50)
            {
                cout<<"\n You are Pass" <<endl<<endl;
            }
            else if(Total<50 && Total>=0)
            {
                cout<<"\n You are False" <<endl<<endl;
            }
            else{
                cout<<"Poing that you input is wrong" <<endl;
                cout<<"Please input again" <<endl<<endl;
                }
            cout<<"============================================\n\n";

          }

      }while(Total>100);
      system("pause");
      return 0;
  }






Below is my link to this video in youtube :
http://www.youtube.com/watch?v=ktYpbmyiqJE&feature=youtu.be

Program C++ Module 9 Function

Name : Om Chanlyta
Major : TMD
NIM : 49012081

Hello teacher this is my video that say about Program C++ Module 9 Function.



This is my link to this video : http://www.youtube.com/watch?v=dvRljPNe0aY&feature=youtu.be

Program C++ Module 8 Structure

Name : Om Chanlyta
Major : TMD
NIM : 49012081

Hello teacher below is my video to say about Module 8 Structure .



This is my link : http://www.youtube.com/watch?v=gJOQA40AjoI&feature=youtu.be

Program C++ Module 7 Array

Name : Om Chanlyta
Major : TMD
NIM : 49012081
Hello teacher bellow is my video that say about Module 7 Array.





 
Link to my video as below:

Program C++ Module 6 Repeat

Name : Om Chanlyta
Major : TMD
NIM : 49012081

Hello teacher below is my video that say about Program C++ in Module 6 Repeat.



Link to my video as below:
http://www.youtube.com/watch?v=a9F6wrZPYb8&feature=youtu.be

Module 5

Name: Om Chanlyta
Major: TMD



http://www.youtube.com/watch?v=lhFos4czQGY&feature=youtu.be

Module 4

Name: Om Chan Lyta
Major: TMD


http://www.youtube.com/watch?v=UxZuxd3MRhU&feature=youtu.be