<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":1623,"date":"2021-08-06T08:33:13","date_gmt":"2021-08-06T08:33:13","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=1623"},"modified":"2021-09-07T10:58:01","modified_gmt":"2021-09-07T10:58:01","slug":"a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/","title":{"rendered":"A group of friends went on a holiday to a hill station. It rained for 13 days. But when it rained in the morning, the afternoon was lovely. And when it rained in the afternoon, the day was preceded by clear morning. Altogether there were 11 very nice mornings and 12 very nice afternoons. How many days did their holiday last ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<p class=\"color-pink\">A group of friends went on a holiday to a hill station. It rained for 13 days. But when it rained in the morning, the afternoon was lovely. And when it rained in the afternoon, the day was preceded by clear morning. Altogether there were 11 very nice mornings and 12 very nice afternoons. How many days did their holiday last ?<\/p>\n<\/div>\n<\/div>\n<p>The holiday last for 18 days.<\/p>\n<p>Let&#8217;s assume the number of days as follows:<\/p>\n<div class=\"Content\">\n<div class=\"hddn\">\n<ul>\n<li>Rain in the morning and lovely afternoon = X days<\/li>\n<li>Clear morning and rain in the afternoon = Y days<\/li>\n<li>No rain in the morning and in the afternoon = Z days<\/li>\n<li>Number of days with rain = X + Y = 13 days<\/li>\n<li>Number of days with clear mornings = Y + Z = 11 days<\/li>\n<li>Number of days with clear afternoons = X + Z = 12 days<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<p>Solving above 3 equations, we get X = 7, Y = 6 and Z = 5<\/p>\n<p>Hence, total number of days on holiday = 18 days<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Answer : The holiday last for 18 days&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[11040],"tags":[11119,11117,11118,10954,10957,10956,10977,10972,10984,11133,11000,11005,10944,10945,10966,10942,10947,11012,11010,10985,10973,11014,10982,10998,10981,11015,11131,10969,10960,10983,9747,10988,11120,10995,10993,10971,11016,10970,11004,10987,10958,11003,10974,10940,10959,9751,10980,10976,11002,10986,10994,11129,11128,1810,10951,11009,10943,286,10946,11138,11134,11139,11113,11130,11136,9385,10979,10992,10949,11125,11126,11132,10989,10996,9391,11007,10965,10955,11011,10964,10961,11121,11135,11122,11124,11075,11076,11077,11078,10997,10978,10963,10967,10990,11137,11123,11006,10941,11001,10950,10991,10975,10952,10953,11008,11127,10948,10999,11013,10962,10968],"class_list":["post-1623","post","type-post","status-publish","format-standard","hentry","category-puzzles","tag-a-group-of-friends-go-for-dinner-and-gets-bill-of","tag-a-group-of-friends-goes-for-dinner-and-gets-bill-of-rs-2400","tag-a-group-of-friends-goes-for-dinner-and-gets-bill-of-rs-2400-two-of","tag-adani-enterpris-interview-questions-and-answers","tag-adani-green-energy-ltd-interview-questions-and-answers","tag-adani-ports-ltd-interview-questions-and-answers","tag-adani-total-gas-ltd-interview-questions-and-answers","tag-adani-transmission-ltd-interview-questions-and-answers","tag-ambuja-cements-interview-questions-and-answers","tag-analytical-puzzles-with-answers-for-interviews","tag-apollo-hospital-interview-questions-and-answers","tag-aurobindo-pharm-interview-questions-and-answers","tag-avenue-supermarts-ltd-interview-questions-and-answers","tag-axis-bank-interview-questions-and-answers","tag-bajaj-auto-interview-questions-and-answers","tag-bajaj-finance-interview-questions-and-answers","tag-bajaj-finserv-ltd-interview-questions-and-answers","tag-balkrishna-industries-interview-questions-and-answers","tag-bandhan-bank-interview-questions-and-answers","tag-berger-paints-interview-questions-and-answers","tag-bharat-petroleum-corporation-ltd-interview-questions-and-answers","tag-biocon-interview-questions-and-answers","tag-britannia-industries-ltd-interview-questions-and-answers","tag-cadila-health-interview-questions-and-answers","tag-coal-india-ltd-interview-questions-and-answers","tag-colgate-interview-questions-and-answers","tag-common-puzzles-asked-in-interviews-with-answers","tag-dabur-india-ltd-interview-questions-and-answers","tag-divis-labs-interview-questions-and-answers","tag-dlf-interview-questions-and-answers","tag-dr-reddys-labs-interview-questions-and-answers","tag-eicher-motors-ltd-interview-questions-and-answers","tag-find-the-number-of-person","tag-gail-india-ltd-interview-questions-and-answers","tag-gland-pharma-ltd-interview-questions-and-answers","tag-godrej-consumer-products-ltd-interview-questions-and-answers","tag-godrej-properties-interview-questions-and-answers","tag-grasim-industries-ltd-interview-questions-and-answers","tag-gujarat-gas-ltd-interview-questions-and-answers","tag-havells-india-ltd-interview-questions-and-answers","tag-hdfc-life-insurance-company-ltd-interview-questions-and-answers","tag-hero-motocorp-interview-questions-and-answers","tag-hindalco-industries-ltd-interview-questions-and-answers","tag-hindustan-unilever-ltd-interview-questions-and-answers","tag-hindustan-zinc-ltd-interview-questions-and-answers","tag-icici-lombard-interview-questions-and-answers","tag-icici-prudential-life-insurance-interview-questions-and-answers","tag-indian-oil-corporation-ltd-interview-questions-and-answers","tag-indus-towers-ltd-interview-questions-and-answers","tag-indusind-bank-interview-questions-and-answers","tag-interglobe-aviation-interview-questions-and-answers","tag-interview-puzzles","tag-interview-puzzles-with-answers","tag-interview-questions-and-answers","tag-jsw-steel-interview-questions-and-answers","tag-jubilant-foodworks-ltd-interview-questions-and-answers","tag-kotak-mahindra-bank-interview-questions-and-answers","tag-lt-infotech-interview-questions-and-answers","tag-larsen-and-toubro-ltd-interview-questions-and-answers","tag-logic-interview-questions-programming","tag-logical-interview-questions-and-answers","tag-logical-puzzles","tag-logical-puzzles-for-interview","tag-logical-puzzles-for-interview-with-answer","tag-logical-puzzles-with-answers","tag-lupin-interview-questions-and-answers","tag-mm-interview-questions-and-answers","tag-marico-interview-questions-and-answers","tag-maruti-suzuki-interview-questions-and-answers","tag-math-puzzles-for-interviews","tag-maths-puzzle-questions-with-answers","tag-maths-puzzles-for-interviews","tag-motherson-sumi-systems-interview-questions-and-answers","tag-muthoot-finance-hdfc-amc-interview-questions-and-answers","tag-nestle-interview-questions-and-answers","tag-nmdc-ltd-interview-questions-and-answers","tag-ntpc-ltd-interview-questions-and-answers","tag-oil-and-natural-gas-corporation-interview-questions-and-answers","tag-pi-industries-ltd-interview-questions-and-answers","tag-pidilite-industries-interview-questions-and-answers","tag-power-grid-corporation-of-india-interview-questions-and-answers","tag-puzzles-and-trick-questions","tag-puzzles-asked-in-interviews-with-answers","tag-puzzles-for-interviews-with-answers","tag-puzzles-for-placement-interviews","tag-quantitative-aptitude-syllabus","tag-quantitative-aptitude-topics","tag-quantitative-aptitude-tricks","tag-quantitative-aptitude-aptitude-questions-placement-papers","tag-ril-partly-paid-interview-questions-and-answers","tag-sbi-card-interview-questions-and-answers","tag-sbi-life-insura-interview-questions-and-answers","tag-shree-cements-ltd-interview-questions-and-answers","tag-siemens-interview-questions-and-answers","tag-simple-logical-questions-for-interview","tag-software-interview-puzzles","tag-srf-limited-interview-questions-and-answers","tag-state-bank-of-india-interview-questions-and-answers","tag-steel-authority-of-india-ltd-interview-questions-and-answers","tag-sun-pharma-interview-questions-and-answers","tag-tata-consumer-products-ltd-interview-questions-and-answers","tag-tata-motors-interview-questions-and-answers","tag-tata-steel-interview-questions-and-answers","tag-titan-company-interview-questions-and-answers","tag-torrent-pharma-interview-questions-and-answers","tag-tricky-puzzles-with-answers-asked-in-interviews","tag-ultratech-cement-interview-questions-and-answers","tag-united-phosphorus-ltd-interview-questions-and-answers","tag-united-spirits-interview-questions-and-answers","tag-vedanta-ltd-interview-questions-and-answers","tag-zomato-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A group of friends went on a holiday to a hill station. It rained for 13 days<\/title>\n<meta name=\"description\" content=\"A group of friends went on a holiday to a hill station. It rained for 13 days. But when it rained in the morning, the afternoon was lovely.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A group of friends went on a holiday to a hill station. It rained for 13 days\" \/>\n<meta property=\"og:description\" content=\"A group of friends went on a holiday to a hill station. It rained for 13 days. But when it rained in the morning, the afternoon was lovely.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-06T08:33:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-07T10:58:01+00:00\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/\",\"name\":\"A group of friends went on a holiday to a hill station. It rained for 13 days\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"datePublished\":\"2021-08-06T08:33:13+00:00\",\"dateModified\":\"2021-09-07T10:58:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"A group of friends went on a holiday to a hill station. It rained for 13 days. But when it rained in the morning, the afternoon was lovely.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A group of friends went on a holiday to a hill station. It rained for 13 days","description":"A group of friends went on a holiday to a hill station. It rained for 13 days. But when it rained in the morning, the afternoon was lovely.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/","og_locale":"en_US","og_type":"article","og_title":"A group of friends went on a holiday to a hill station. It rained for 13 days","og_description":"A group of friends went on a holiday to a hill station. It rained for 13 days. But when it rained in the morning, the afternoon was lovely.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/","og_site_name":"Wikitechy","article_published_time":"2021-08-06T08:33:13+00:00","article_modified_time":"2021-09-07T10:58:01+00:00","author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/","name":"A group of friends went on a holiday to a hill station. It rained for 13 days","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"datePublished":"2021-08-06T08:33:13+00:00","dateModified":"2021-09-07T10:58:01+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"A group of friends went on a holiday to a hill station. It rained for 13 days. But when it rained in the morning, the afternoon was lovely.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/puzzles\/a-group-of-friends-went-on-a-holiday-to-a-hill-station-it-rained-for-13-days-but-when-it-rained-in-the-morning-the-afternoon-was-lovely-and-when-it-rained-in-the-afternoon-the-day-was-preceded-by\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=1623"}],"version-history":[{"count":1,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1623\/revisions"}],"predecessor-version":[{"id":1627,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1623\/revisions\/1627"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=1623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=1623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=1623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}