Minggu, 20 Maret 2016

Kasus 3.1

di sini saya akan memposting tugas kelompok tentang menentukan 2 bilangan yang mana yang lebih besar

inputan C++

#include <iostream>
#include <string>

using namespace std;
int main()
{
   int b;
   int a;

   cout<<"masukan bilangan pertama : ";
   cout<< endl;
   cin >> a;
   cout<<"masukan bilangan kedua : ";
   cout<< endl;
   cin >> b;
   if (a>b)
   {
      cout << "bilangan terbesar adalah : "<<a << endl;   }
   else
   {
      cout << "bilangan terbesar adalah : "<<b << endl;   }

   return 0;
}

hasilnya

dan ini raportnya


hasil rapornya







0 komentar:

Posting Komentar

Posting Lebih Baru Posting Lama Beranda

Diberdayakan oleh Blogger.

About us

Formulir Kontak

Nama

Email *

Pesan *

Find Us On Facebook

Translate

Popular Posts

Video Of Day

About

TechClue

Techclue Is A Multi layout Style Blogger Template. You Can Use This Template For Education Site As Well As For Simple Magazine Sites. Techclue Is The Perfect Combination Of Design.We install Lots Of Features Like Responsive Layout, SEO Optimization Etc.

Join Our Community!

Popular Posts

Recent Posts

Popular Posts

 

Followers

 

Flickr Gallery

Templates by Nano Yulianto | CSS3 by David Walsh | Powered by {N}Code & Blogger