Comparing two slots of lecture of two different timetableCreating an interactive table for AndroidHow to store a lot of different timetables in MYSQL?Combine mysql records from a set date into a timetable?Database Design for Time Table GenerationStore school timetable values in databaseGenerate random blocks Timetable pythonWeek timetable: PHP in_array or jQuery pluginUniversity Timetable Scheduling Project using Genetic Algorithm (JAVA)Exponential complexity for Timetable Generating programConverting Datatype of table or timetable

What is a common way to tell if an academic is "above average," or outstanding in their field? Is their h-index (Hirsh index) one of them?

Huffman Code in C++

Primes in a Diamond

Efficient deletion of specific list entries

Determine if a grid contains another grid

Game artist computer workstation set-up – is this overkill?

How do I, as a DM, handle a party that decides to set up an ambush in a dungeon?

How did the Force make Luke hard to hit in the Battle of Yavin?

Can you figure out this language?

TIP120 Transistor + Solenoid Failing Randomly

Is there any other simpler way to draw the following cross section?

What is the meaning of 「隣のおじいさんは言いました」

Endgame puzzle: How to avoid stalemate and win?

Gerrymandering Puzzle - Rig the Election

Dimmer switch not connected to ground

Why would a military not separate its forces into different branches?

Can anyone identify this unknown 1988 PC card from The Palantir Corporation?

How can I obtain and work with a Platonic dodecahedron?

Does Thanos's ship land in the middle of the battlefield in "Avengers: Endgame"?

How do I download programs on Linux?

Two denim hijabs

Picking a theme as a discovery writer

While drilling into kitchen wall, hit a wire - any advice?

Class Not Passing SObject By Reference



Comparing two slots of lecture of two different timetable


Creating an interactive table for AndroidHow to store a lot of different timetables in MYSQL?Combine mysql records from a set date into a timetable?Database Design for Time Table GenerationStore school timetable values in databaseGenerate random blocks Timetable pythonWeek timetable: PHP in_array or jQuery pluginUniversity Timetable Scheduling Project using Genetic Algorithm (JAVA)Exponential complexity for Timetable Generating programConverting Datatype of table or timetable






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am crating a java based timetable generation app. It is an android application. The inputs from the user are subject name and professor name. Both values are stored in a 2D array tt1[][] . The same i have done for time table 2 and stored inputs in array tt2[][]. Now i want to create two time tables using this value. Timetable will be generated and displayed in gridview..First timetable will b generated that is not an issue, but for timetable 2 I want to compare each slot of timetable 1 with timetable 2. I m thinking of using if-else statement but its way too lengthy. Can you suggest something better? I have a created timetable 1 and the sample code is for timetable 2. For each slot of a day I am using if else statement and it is getting too length as there can be 10 slots in a single day. To generate for 6 days it will become 6×10 if-else statements










share|improve this question



















  • 1





    First try out what you think is lengthy then share here if we can help to improve. Else there's another site called codereview.stackexchange.com you can post your length code there too to get it improved.

    – Black Mamba
    Mar 23 at 4:27












  • Thanks for your suggestion. I have edited my question can you please take a look at it?

    – Humera Shaikh
    Mar 23 at 5:09











  • It's better to post code instead of image. I think your approach is good just one thing you'll need to use == instead of = to compare inside the if condition rest you can try running your code and let the error be posted in the question

    – Black Mamba
    Mar 23 at 5:18











  • Okay..but cant something else be used instead of if-else statement

    – Humera Shaikh
    Mar 23 at 5:26











  • Simply use for loop you'll need two for loop to loop inside one array

    – Black Mamba
    Mar 23 at 5:37

















0















I am crating a java based timetable generation app. It is an android application. The inputs from the user are subject name and professor name. Both values are stored in a 2D array tt1[][] . The same i have done for time table 2 and stored inputs in array tt2[][]. Now i want to create two time tables using this value. Timetable will be generated and displayed in gridview..First timetable will b generated that is not an issue, but for timetable 2 I want to compare each slot of timetable 1 with timetable 2. I m thinking of using if-else statement but its way too lengthy. Can you suggest something better? I have a created timetable 1 and the sample code is for timetable 2. For each slot of a day I am using if else statement and it is getting too length as there can be 10 slots in a single day. To generate for 6 days it will become 6×10 if-else statements










share|improve this question



















  • 1





    First try out what you think is lengthy then share here if we can help to improve. Else there's another site called codereview.stackexchange.com you can post your length code there too to get it improved.

    – Black Mamba
    Mar 23 at 4:27












  • Thanks for your suggestion. I have edited my question can you please take a look at it?

    – Humera Shaikh
    Mar 23 at 5:09











  • It's better to post code instead of image. I think your approach is good just one thing you'll need to use == instead of = to compare inside the if condition rest you can try running your code and let the error be posted in the question

    – Black Mamba
    Mar 23 at 5:18











  • Okay..but cant something else be used instead of if-else statement

    – Humera Shaikh
    Mar 23 at 5:26











  • Simply use for loop you'll need two for loop to loop inside one array

    – Black Mamba
    Mar 23 at 5:37













0












0








0








I am crating a java based timetable generation app. It is an android application. The inputs from the user are subject name and professor name. Both values are stored in a 2D array tt1[][] . The same i have done for time table 2 and stored inputs in array tt2[][]. Now i want to create two time tables using this value. Timetable will be generated and displayed in gridview..First timetable will b generated that is not an issue, but for timetable 2 I want to compare each slot of timetable 1 with timetable 2. I m thinking of using if-else statement but its way too lengthy. Can you suggest something better? I have a created timetable 1 and the sample code is for timetable 2. For each slot of a day I am using if else statement and it is getting too length as there can be 10 slots in a single day. To generate for 6 days it will become 6×10 if-else statements










share|improve this question
















I am crating a java based timetable generation app. It is an android application. The inputs from the user are subject name and professor name. Both values are stored in a 2D array tt1[][] . The same i have done for time table 2 and stored inputs in array tt2[][]. Now i want to create two time tables using this value. Timetable will be generated and displayed in gridview..First timetable will b generated that is not an issue, but for timetable 2 I want to compare each slot of timetable 1 with timetable 2. I m thinking of using if-else statement but its way too lengthy. Can you suggest something better? I have a created timetable 1 and the sample code is for timetable 2. For each slot of a day I am using if else statement and it is getting too length as there can be 10 slots in a single day. To generate for 6 days it will become 6×10 if-else statements







timetable






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 23 at 5:08







Humera Shaikh

















asked Mar 23 at 4:22









Humera ShaikhHumera Shaikh

14




14







  • 1





    First try out what you think is lengthy then share here if we can help to improve. Else there's another site called codereview.stackexchange.com you can post your length code there too to get it improved.

    – Black Mamba
    Mar 23 at 4:27












  • Thanks for your suggestion. I have edited my question can you please take a look at it?

    – Humera Shaikh
    Mar 23 at 5:09











  • It's better to post code instead of image. I think your approach is good just one thing you'll need to use == instead of = to compare inside the if condition rest you can try running your code and let the error be posted in the question

    – Black Mamba
    Mar 23 at 5:18











  • Okay..but cant something else be used instead of if-else statement

    – Humera Shaikh
    Mar 23 at 5:26











  • Simply use for loop you'll need two for loop to loop inside one array

    – Black Mamba
    Mar 23 at 5:37












  • 1





    First try out what you think is lengthy then share here if we can help to improve. Else there's another site called codereview.stackexchange.com you can post your length code there too to get it improved.

    – Black Mamba
    Mar 23 at 4:27












  • Thanks for your suggestion. I have edited my question can you please take a look at it?

    – Humera Shaikh
    Mar 23 at 5:09











  • It's better to post code instead of image. I think your approach is good just one thing you'll need to use == instead of = to compare inside the if condition rest you can try running your code and let the error be posted in the question

    – Black Mamba
    Mar 23 at 5:18











  • Okay..but cant something else be used instead of if-else statement

    – Humera Shaikh
    Mar 23 at 5:26











  • Simply use for loop you'll need two for loop to loop inside one array

    – Black Mamba
    Mar 23 at 5:37







1




1





First try out what you think is lengthy then share here if we can help to improve. Else there's another site called codereview.stackexchange.com you can post your length code there too to get it improved.

– Black Mamba
Mar 23 at 4:27






First try out what you think is lengthy then share here if we can help to improve. Else there's another site called codereview.stackexchange.com you can post your length code there too to get it improved.

– Black Mamba
Mar 23 at 4:27














Thanks for your suggestion. I have edited my question can you please take a look at it?

– Humera Shaikh
Mar 23 at 5:09





Thanks for your suggestion. I have edited my question can you please take a look at it?

– Humera Shaikh
Mar 23 at 5:09













It's better to post code instead of image. I think your approach is good just one thing you'll need to use == instead of = to compare inside the if condition rest you can try running your code and let the error be posted in the question

– Black Mamba
Mar 23 at 5:18





It's better to post code instead of image. I think your approach is good just one thing you'll need to use == instead of = to compare inside the if condition rest you can try running your code and let the error be posted in the question

– Black Mamba
Mar 23 at 5:18













Okay..but cant something else be used instead of if-else statement

– Humera Shaikh
Mar 23 at 5:26





Okay..but cant something else be used instead of if-else statement

– Humera Shaikh
Mar 23 at 5:26













Simply use for loop you'll need two for loop to loop inside one array

– Black Mamba
Mar 23 at 5:37





Simply use for loop you'll need two for loop to loop inside one array

– Black Mamba
Mar 23 at 5:37












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55310593%2fcomparing-two-slots-of-lecture-of-two-different-timetable%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55310593%2fcomparing-two-slots-of-lecture-of-two-different-timetable%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해