Exercises Loops.docx

  • Uploaded by: belia
  • 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 Exercises Loops.docx as PDF for free.

More details

  • Words: 135
  • Pages: 1
/** * IS184203C-Genap-2018/19 - In Class Week 04 * Name of Project : Loops * Student ID : 05211840000131 * Student Name : Belia Rida Syifa Fauzia * Class :c * Submission Date : 26-02-2019 */ /** * * NEVER DO 'COPY-PASTE' WHILE YOU ARE CODING * */ import java.util.Scanner; public class Loops { public static void main(String[] args) { Scanner input = new Scanner(System.in); int v = input.nextInt(); for (int i = 1; i<=5; i++) { for (int b = 0; b < i; b++) { System.out.print(i); } System.out.println();

} } } /** * DECLARATION OF ORIGINAL WORK * I, hereby declare that the code is my original work. * I have honored the principles of academic integrity and have upheld * ITS''s Student Code of Academic in the completion of this work. */

Related Documents

Exercises
November 2019 47
Exercises
April 2020 35
Exercises
October 2019 49
Exercises
December 2019 28
Exercises
June 2020 15
Exercises
November 2019 54

More Documents from ""