9/21/2014

BCS 2233 Lab Week 3

A. Write a java program based on the following algorithm ( pseudocode / Flowchart)

Algorithmn 1

1.PROMPT user to enter length and width
2.READ length and width
3. CALCULATE perimeter and area
       perimeter = 2 * (length + width)
       area = length * width
4. OUTPUT perimeter and area


Algorithmn 2
























1 comment:

Mohd Nazri Ibrahim said...

import java.util.Scanner;
public class lab24sept2014_1 {

public static void main(String[] args) {
Scanner input= new Scanner(System.in);
System.out.println("Sila masukkan jejari suatu bulatan");
int radius = input.nextInt();
double area = radius*radius*3.14;
System.out.println("Luas Bulatan yang berjejari"
+ radius + " ialah " + area);
}
}ntchwque Results

Cara download Installer windows 10 dalam format ISO

1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan.  ...