Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: java programm

  1. #1
    Junior Member
    Join Date
    Aug 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post java programm

    Consider there are 4 sections A,B,C,D and there are 10 rooms from 1 to 10

    now each section has a timetable consisting of one-hour classes from 9 to 4 Monday to Friday

    Develop a program which allocates rooms to sections for each hour in a week, and also no two sections have same rooms allocated for the same hour.


    ex- Section A Monday 9 to 10 room 1


    Section A Monday 10 to 11 room 5


    Constraint failure example:-


    Section A Monday 9 to 10 room 1

    Section B Monday 9 to 10 room 1

    This type of program should detect these type of errors.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: java programm

    Do you have a java programming question?

    Please post any code you have questions about. Be sure to wrap all posted code in code tags.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Replies: 2
    Last Post: September 30th, 2014, 03:09 PM
  2. please can you help me this programm
    By abdi in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 5th, 2014, 07:15 AM
  3. Programm does not start. Help Please!
    By efluvio in forum What's Wrong With My Code?
    Replies: 11
    Last Post: March 8th, 2013, 02:55 PM
  4. Creating a programm
    By TheBoss84 in forum Java Theory & Questions
    Replies: 2
    Last Post: October 23rd, 2011, 02:36 PM
  5. im in a hurry!!Help with a programm..java game of guessing a word
    By mr_doctor in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 13th, 2010, 08:17 AM