Find Jobs
Hire Freelancers

Square Box to print only frame from existing project in asteriks when width and legth are entered.

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
This would print out: ***** ***** ***** ***** I need it to print out: ***** * * * * ***** So basically just a frame. import [login to view URL]; public class SquareBox { public static void main(String args[]) { String widthString; String heightString; int width; int height; int row; int column; widthString = [login to view URL]("Please enter the width of the rectangle"); width = [login to view URL](widthString); heightString = [login to view URL]("Please enter the height of the rectangle"); height = [login to view URL](heightString); // Outer Loop for Rows row = 1; while(row <= height) { // Inner Loop for Columns column = 1; row++; while (column <= width) { [login to view URL]("*"); column++; } [login to view URL](); } } }
Project ID: 6669490

About the project

1 proposal
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello There Years of Expernice in java , i am going to finish that you assigment in less than 1 hour once you accept my bid Thank in Advance Hiasat
$15 USD in 1 day
5.0 (4 reviews)
1.9
1.9

About the client

Flag of UNITED STATES
Des Moines, United States
4.9
14
Payment method verified
Member since Oct 8, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.