Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Badguy13 Badguy13 is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 399
Rep Power: 15
Badguy13 mempunyai hidup yang Normal
Default input tipe data string

permisi agan sist,,ane baru belajar java nih mau nanya



<div style="margin:20px; margin-top:5px; ">
Quote:





import java.util.Scanner;



public class input nilai

{

public static void main(String[] args)

{

Scanner input = new Scanner(System.in);

int nilai;



System.out.print("Masukkan nilai ujian = ");

nilai = input.nextInt();



if(nilai >=90 && nilai
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Terkait
Thread Thread Starter Forum Replies Last Post
Data input & copy writer [sma/sederajat] KerjaSantai Lowongan kerja 0 24th October 2012 09:19 AM
Dibutuhkan data entry / input data (freelance) Carikerjaa Lowongan kerja 0 23rd October 2012 10:53 PM
(ASK) Buat progam input data @VB Badguy13 Programming 0 20th November 2011 01:15 AM
notifikasi sukses input data Braincode Programming 0 11th November 2011 01:57 PM
[wta] input program c++ dengan string Braincode Programming 0 11th November 2011 01:20 PM

 


All times are GMT +7. The time now is 12:12 PM.