Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

help

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Define the n-based integer rounding of an integer k to be the nearest multiple of n to k. using java array
 
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My apologies. Post deleted.
 
Marshal
Posts: 69457
277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

pete stein wrote: . . . Did I miss anything?

Yes, you did: it appears to be homework

But something else: I am not in a benign mood and think you are close to not being nice.
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:But something else: I am not in a benign mood and think you are close to not being nice.



Noted and sorry. Post deleted.

edit: also cross-posted.
 
Marshal
Posts: 25594
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Using java array"? So this would appear to be a question about Java. Not about some other language. Moving...
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
melun darshandari, welcome to JavaRanch.

Please note a few things:

Your post looks like a homework problem. We don't like to do other's people's homework - homework is meant for you to learn, and you won't learn anything when somebody else does it for you. So, please DoYourOwnHomework.

Also, please UseAMeaningfulSubjectLine instead of something like "help" when you post a new topic.

So, do you understand the question in your assignment? Did you already write some code yourself? Where do you get stuck? If you want to learn how arrays work in Java, then have a look at Arrays in Sun's Java Tutorials.
 
Campbell Ritchie
Marshal
Posts: 69457
277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apology accepted, Pete
 
Pay attention! Tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic