Praktikum 01 Dasar Membuat Flowchart

  • Uploaded by: Gandalivs
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Praktikum 01 Dasar Membuat Flowchart as PDF for free.

More details

  • Words: 89
  • Pages: 2
TUGAS 2 2.2.1 Macam Stream Java  System.in , berguna untuk menangani pembacaan dari keyboard dan merupakan standard input  System.out , berguna untuk mengirimkan keluaran ke layar dan merupakan standard output  System.err , biasa digunakan untuk mengirimkan kesalahan dan merupakan standard kesalahan

2.2.2 Kelas turunan Input Stream

2.2.3 Program akar kuadrat import java.io.*; class akarkuadrat{ public static void main(String [] args) throws Exception { int nilInt,Hasil; DataInputStream x=new DataInputStream(System.in); System.out.print("Input :"); String nil=x.readLine(); nilInt=Integer.parseInt(nil); Hasil= Math.sqrt(nilInt); System.out.println("output "+nilInt+" = "+ Hasil); } }

TUGAS 2

FlowChart :

Related Documents


More Documents from ""

Tug As 9
June 2020 20
Modul 4,5,6 Revisi
June 2020 25
Tugas Praktikum O9
June 2020 16
Modul 78
June 2020 18