Rabu, 12 Desember 2012

Tugas Kelompok Algoritma Lanjut kelas 3CTI

Nama Kelompok : Bayu Novialdi Sumartomo                  210 511 002
                             Dwita Helinia Kusumaputri                  210 511 009



ini coding program untuk program saya, penjelasannya saat presentasi



#include <conio.h>
#include <iostream.h>
#include <iomanip.h>
char grade(float n);
int main()
{
     int i, j=1, k=1, l=1;

typedef struct
{
       char nim[5];
       char nama[15];
       float nilai;
       } Mahasiswa;
       Mahasiswa mhs;
     
     
           
              for (i=0; i<1; i++)
              {
               
                  cout<<"Masukkan NIM = "; cin>>mhs.nim;
                  cout<<"Masukkan Nama = "; cin>>mhs.nama;
                  cout<<"Masukkan Nilai Akhir = "; cin>>mhs.nilai;
                  cout<<endl;
                  }
               
                  for(i=0; i<1; i++)
                  {
                         
                           cout<<"NIM = "<<mhs.nim<<endl;
                           cout<<"Nama = "<<mhs.nama<<endl;
                           cout<<"Nilai Akhir = "<<mhs.nilai<<endl;
                           cout<<"Grade yang didapat = ";
                           cout<<grade (mhs.nilai)<<endl;
                           cout<<endl;
                           }
                           getch();
                           }
                         
                           char grade(float n)
                           {
                                if(n > 80)
                                return 'A';
                                else if(n > 75)
                                return 'B';
                                else if(n > 65)
                                return 'C';
                                else if(n > 49)
                                return 'D';
                                else
                                return 'E';
                                }

ini hasil dari coding nya



Valve Wants To Get Dota 2 Running On Tablets




Dota 2 on your iPad? It could happen.


At the VGAs on Friday night, I asked Valve boss Gabe Newell if they were working on any interesting software projects. He said they were indeed.


"We were working on getting Dota 2 running on some tablets," he said. "That ended up being kind of a disappointment. But the good news is that tablets are getting faster very quickly, so I think we'll get the kind of performance we want and other game developers want in the near future."


And Dota 2, a game that is fast-paced, but not quite as demanding on your fingers as an eSport like StarCraft, could be a very good fit for the touch-screen interface on an iPad or Android tablet.




"It's a good one for us to test with," Newell said.






sumber : http://kotaku.com/5967051/valve-wants-to-get-dota-2-running-on-tablets