Tgs ppt alpro no 2

60 %
40 %
Information about Tgs ppt alpro no 2
Education

Published on March 9, 2014

Author: 1300018047

Source: slideshare.net

2. Buatlah algoritma dan program untuk memisahkan bilangan integer yang kurang dari 1000 menjadi komponenkomponenya sebagai contoh : 127 = 1 ratusan, 2 puluhan, 7 satuan ANALISIS INPUT : Masukan bilangan A PROSES : - ratusan : ((A-(A%100))/100) - puluhan : (((A-(A%10))%100)/10) - satuan : A%10 OUTPUT : ratusan+”Ratusan” puluhan+”puluhan” satuan+”Satuan”

ALGORITMA ALJABAR DEKLARASI Input (A) Output (Ratusan,Puluhan,Satuan) DESKRIPSI -Read (A) - ratusan : ((A-(A%100))/100) - puluhan : (((A-(A%10))%100)/10) - satuan : A%10

C++ #include <iostream> #include <string> using namespace std; int main() { int Ratusan,Satuan ,Puluhan ,A; cout << "Masukkan bilangan "<< endl; cin >> A; Ratusan =((A-(A % 100))/100); Puluhan =(((A-(A % 10)) % 100)/10); Satuan =A % 10; cout<< "ratusan ="<< endl; cout<<+Ratusan <<endl ; cout<< "puluhan ="<< endl; cout <<+Puluhan <<endl; cout<< "satuan=" << endl; cout <<+Satuan <<endl; system("PAUSE"); return EXIT_SUCCESS; }

Add a comment

Related presentations

Related pages

Alpro | Plant Power

Hi, we're Alpro! Where are you from? Choose your country. Belgium (dutch) Belgium (french) United Kingdom. Germany. Netherlands. Austria. Bulgaria. Canada ...
Read more

PPT – TEORA GENERAL DE SISTEMAS PowerPoint presentation ...

... A free PowerPoint PPT presentation (displayed as a Flash slide show) ... (TGS) representa la ... ambiente material.2.
Read more

Alpro | Soya Plain Drink | Original Fresh

Alpro soya Original Fresh is full of the plant based goodness of high quality soya beans, ... 2.7 g ... ALPRO ALMOND Sounds nutty?
Read more

The MIT Kerberos Administrator’s How-to Guide

The MIT Kerberos Administrator’s How-to Guide ... • no secure propagation of user authenticators. ... return the TGS. 2nd step: ...
Read more

PowerPoint Presentation - NACE International - The ...

Task Groups (TGs) develop some form ... A symposium is a presentation of a group of peer-reviewed technical papers; ... NACE No. 2/SSPC-SP 10, ...
Read more

Tgs

Tgs. Tgs | Views: 0 | Likes: 0. ... 2) Permintaan keterangan ahli sebagaimana dimaksud dalam ayat 1) ... Ppt Referat Kulit Fix.
Read more

Teoria General de Sistemas - YouTube

Standard YouTube License; Music ... TGS TEORIA GENERAL DE SISTEMAS ... 1:41 La Increible Leccion de la Vaca (No apto para mediocres ...
Read more