Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) DiceRoll.php Program: You will need to complete, save and submit all versions of the program in php created by following the instructions on pages

1) DiceRoll.php Program: You will need to complete, save and submit all versions of the program in php created by following the instructions on pages 85, 89,90,94,99,102,105,107 of your Textbook. You need to save all the 8 versions of the program as separate files and name them as different versions. For each version of the file you will execute it in the browser and take a screenshot of the output. You can submit each screen shot individually or you can paste them all in one word document and label them appropriately.

Could you please help me with these php codes, thank you! It is so confusing to me.

In the next steps, you will create a script to roll a pair of dice and

evaluate the outcome. For this exercise, you will use the function

rand(1,6), which generates a random integer from 1 to 6.

To create the dice script:

1. Create a new document in your text editor. Type the

declaration, element, header information,

and element. Use the strict DTD and Dice Roll as

the content of the element.</p> <p>2. Add the following script section to the document body:</p> <p><?php</p> <p>?></p> <p>3. Add the following code to the beginning of the script</p> <p>section. Th is will create the $FaceNamesSingular and</p> <p>$FaceNamesPlural arrays and populate them with text.</p> <p>$FaceNamesSingular = array("one", "two", "three",</p> <p>"four", "fi ve", "six");</p> <p>$FaceNamesPlural = array("ones", "twos", "threes",</p> <p>"fours", "fi ves", "sixes");</p> <p>4. Now create the CheckForDoubles function. It takes two</p> <p>parameters, $Die1 and $Die2, and uses echo statements and</p> <p>the global $FaceNamesSingular and $FaceNamesPlural</p> <p>arrays to display one of two diff erent messages, depending on</p> <p>whether $Die1 equals $Die2 (doubles were rolled).</p> <p>To simplify the DiceRoll.php script by replacing two if statements</p> <p>with one if . . . else statement:</p> <p>1. Return to the DiceRoll.php document in your text editor.</p> <p>2. Because you only need the if statement to test for doubles,</p> <p>you can display the message for rolls that are not doubles</p> <p>in the else clause. Modify the CheckForDoubles() function</p> <p>so that the two if statements are replaced with a single</p> <p>if . . . else statement. Th e following code shows how the</p> <p>statements for the CheckForDoubles() function should look:</p> <p>if ($Die1 == $Die2) // Doubles</p> <p>echo "The roll was double ",</p> <p>$FaceNamesPlural[$Die1-1], ".<br />";</p> <p>else // Not Doubles</p> <p>echo "The roll was a ",</p> <p>$FaceNamesSingular[$Die1-1],</p> <p>" and a ", $FaceNamesSingular[$Die2-1],</p> <p>".<br />";</p> <p>3. Save and upload the DiceRoll.php document.</p> <p>4. Open the DiceRoll.php fi le in your Web browser by entering</p> <p>the following URL: http://<yourserver>/PHP_Projects/</p> <p>Chapter.02/Chapter/DiceRoll.php. You should still see a</p> <p>Web page similar to the one shown in Figure 2-4. Use the</p> <p>refresh button to verify that both doubles and nondoubles are</p> <p>displayed correctly.</p> <p>5. Close your Web browser window.</p> <p>To modify the DiceRoll.php program so it uses nested if . . . else</p> <p>statements to display the score text:</p> <p>1. Return to the DiceRoll.php document in your text editor.</p> <p>2. Modify the CheckForDoubles() function to return a Boolean</p> <p>value indicating whether doubles were rolled by adding the</p> <p>text shown in bold.</p> <p>function CheckForDoubles($Die1, $Die2) {</p> <p>global $FaceNamesSingular;</p> <p>global $FaceNamesPlural;</p> <p>$ReturnValue = false;</p> <p>if ($Die1 == $Die2) { // Doubles</p> <p>echo "The roll was double ",</p> <p>$FaceNamesPlural[$Die1-1], ".<br />";</p> <p>$ReturnValue = true;</p> <p>}</p> <p>else { // Not Doubles</p> <p>echo "The roll was a ",</p> <p>$FaceNamesSingular[$Die1-1],</p> <p>" and a ",</p> <p>$FaceNamesSingular[$Die2-1], ".<br />";</p> <p>$ReturnValue = false;</p> <p>}</p> <p>return $ReturnValue;</p> <p>}</p> <p>To modify the DiceRoll.php script to use a switch statement for the</p> <p>score text:</p> <p>1. Return to the DiceRoll.php document in your text editor.</p> <p>2. Replace the nested if . . . else statements with the following</p> <p>switch statement in the DisplayScoreText() function. Note</p> <p>the use of the nested if . . . else statement in the default</p> <p>case that allows the DisplayScoreText() function to display</p> <p>a message for all of the possible rolls:</p> <p>switch ($Score) {</p> <p>case 2:</p> <p>echo "You rolled snake eyes!<br />";</p> <p>break;</p> <p>case 3:</p> <p>echo "You rolled a loose deuce!<br />";</p> <p>break;</p> <p>case 5:</p> <p>echo "You rolled a fever fi ve!<br />";</p> <p>break;</p> <p>case 7:</p> <p>echo "You rolled a natural!<br />";</p> <p>break;</p> <p>case 9:</p> <p>echo "You rolled a nina!<br />";</p> <p>break;</p> <p>To modify the DiceRoll.php script to evaluate fi ve rolls using a while</p> <p>statement:</p> <p>1. Return to the DiceRoll.php document in your text editor.</p> <p>2. Immediately after the declaration of the $Dice array, declare</p> <p>and initialize two new variables: $DoublesCount and</p> <p>$RollNumber.</p> <p>$DoublesCount = 0;</p> <p>$RollNumber = 1;</p> <p>3. After the new variable declarations, create a while loop by</p> <p>adding the code shown in bold. Also, revise the echo statement</p> <p>by making the change shown in bold.</p> <p>while ($RollNumber <= 5) {</p> <p>$Dice[0] = rand(1,6);</p> <p>$Dice[1] = rand(1,6);</p> <p>$Score = $Dice[0] + $Dice[1];</p> <p>echo "<p>";</p> <p>echo "The total score for roll $RollNumber was</p> <p>$Score.<br />";</p> <p>$Doubles = CheckForDoubles($Dice[0],$Dice[1]);</p> <p>DisplayScoreText($Score, $Doubles);</p> <p>echo "</p>";</p> <p>if ($Doubles)</p> <p>++$DoublesCount;</p> <p>++$RollNumber;</p> <p>} // End of the while loop</p> <p>To use a do . . . while statement:</p> <p>1. Return to the DiceRoll.php document in your text editor.</p> <p>2. Change the while statement to a do . . . while statement, as</p> <p>follows:</p> <p>do {</p> <p>$Dice[0] = rand(1,6);</p> <p>$Dice[1] = rand(1,6);</p> <p>$Score = $Dice[0] + $Dice[1];</p> <p>echo "<p>";</p> <p>echo "The total score for roll $RollNumber was</p> <p>$Score.<br />";</p> <p>$Doubles = CheckForDoubles($Dice[0],$Dice[1]);</p> <p>DisplayScoreText($Score, $Doubles);</p> <p>echo "</p>";</p> <p>if ($Doubles)</p> <p>++$DoublesCount;</p> <p>++$RollNumber;</p> <p>} while ($RollNumber <= 5); /* End of the do . . .</p> <p>while loop */</p> <p>To replace the do . . . while statement in DiceRoll.php with a for</p> <p>statement:</p> <p>1. Return to the DiceRoll.php document in your text editor.</p> <p>2. Change the do . . . while statement to a for statement, as</p> <p>follows:</p> <p>for ($RollNumber = 1; $RollNumber <= 5;</p> <p>++$RollNumber) {</p> <p>$Dice[0] = rand(1,6);</p> <p>$Dice[1] = rand(1,6);</p> <p>$Score = $Dice[0] + $Dice[1];</p> <p>echo "<p>";</p> <p>echo "The total score for roll $RollNumber was</p> <p>$Score.<br />";</p> <p>$Doubles = CheckForDoubles($Dice[0],$Dice[1]);</p> <p>DisplayScoreText($Score, $Doubles);</p> <p>echo "</p>";</p> <p>if ($Doubles)</p> <p>++$DoublesCount;</p> <p>} // End of the for loop</p> <p>3. Save and upload the DiceRoll.php document.</p> <p>4. Open the DiceRoll.php fi le in your Web browser by entering</p> <p>the following URL: http://<yourserver>/PHP_Projects/</p> <p>Chapter.02/Chapter/DiceRoll.php. Th e output should still</p> <p>appear as shown in Figure 2-8.</p> <p>5. Close your Web browser window.</p> <p>To create a fi nal version of DiceRoll.php that displays all possible outcomes</p> <p>of rolling two dice:</p> <p>1. Return to the DiceRoll.php document in your text editor.</p> <p>2. Immediately after the declaration of the $FaceNamesSingular</p> <p>and $FaceNamesPlural arrays, declare a new array named</p> <p>$FaceValues, as follows:</p> <p>$FaceValues = array( 1, 2, 3, 4, 5, 6);</p> <p>3. Delete the declaration of the $Dice array and add a new declaration</p> <p>for a variable named $RollCount, as follows:</p> <p>$RollCount = 0;</p> <p>4. Create a new array called $ScoreCount and initialize it using</p> <p>the following for loop:</p> <p>$ScoreCount = array();</p> <p>for ($PossibleRolls = 2; $PossibleRolls <= 12;</p> <p>++$PossibleRolls) {</p> <p>$ScoreCount[$PossibleRolls] = 0;</p> <p>}</p> </div> </section> <section class="answerHolder"> <div class="answerHolderHeader"> <div class="answer-heading"> <h2>Step by Step Solution</h2> </div> <div class="answerReviews"> <div class="starReview"> <div class="starIcon"> </div> <div class="starText"> </div> </div> </div> </div> <div class="answerSteps"> <p>There are <span>3</span> Steps involved in it</p> <div class="step"> <h3>Step: 1</h3> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-text-image.webp" width="759" height="271" alt="blur-text-image" loading="lazy" decoding="async" fetchpriority="low"> <div class="step1Popup"> <h3>Get Instant Access to Expert-Tailored Solutions</h3> <p>See step-by-step solutions with expert insights and AI powered tools for academic success</p> <button class="view_solution_btn step1PopupButton">View Solution</button> </div> </div> <div class="step"> <h3 class="accordion">Step: 2</h3> <div class="panel"> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp" width="975" height="120" alt="blur-text-image" loading="lazy" decoding="async" fetchpriority="low"> <button class="view_solution_btn stepPopupButton">Sign Up to view</button> </div> </div> <div class="step"> <h3 class="accordion">Step: 3</h3> <div class="panel"> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp" width="975" height="120" alt="blur-text-image" loading="lazy" decoding="async" fetchpriority="low"> <button class="view_solution_btn stepPopupButton">Sign Up to view</button> </div> </div> </div> </section> </div> <div class="expertRight"> <section class="AIRedirect"> <div class="AIHolder"> <h2>Ace Your Homework with AI</h2> <p>Get the answers you need in no time with our AI-driven, step-by-step assistance</p> <a class="AILink" href="/ask_ai">Get Started</a> </div> </section> <section class="relatedBook"> <div class="bookHolder" > <div class="relatedBookHeading" > <h2>Recommended Textbook for</h2> <object class="freeTagImage" type="image/svg+xml" data="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/document_product_info/free.svg" name="free-book-icon"></object> </div> <div class="bookMainInfo" > <div class="bookImage" > <a href="/textbooks/sql-server-t-sql-recipes-4th-edition-9781484200612"> <img src="https://dsd5zvtm8ll6.cloudfront.net/si.question.images/book_images/2022/02/61fa2d4b064ba_54661fa2d4a689d6.jpg" width="100" height="131" alt="SQL Server T-SQL Recipes" loading="lazy"> </a> </div> <div class="bookInfo" > <h3 class="bookTitle"> <a href="/textbooks/sql-server-t-sql-recipes-4th-edition-9781484200612"> SQL Server T-SQL Recipes </a> </h3> <div class="bookMetaInfo" > <p class="bookAuthor"> <b>Authors:</b> <span>David Dye, Jason Brimhall</span> </p> <p class="bookEdition"> 4th Edition </p> <p class="bookEdition"> 1484200616, 9781484200612 </p> </div></div></div> <a href="/textbooks/computer-science-systems-compliance-2457" class="viewMoreBooks">More Books</a> </div> </section> </div> </div> <section class="relatedQuestion"> <div class="relatedQuestionHolder"> <h4>Students also viewed these Databases questions</h4> <div class="relatedQuestionSliderHolder"> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/mission-corporation-leases-equipment-to-mars-company-for-60000" > Mission Corporation leases equipment to Mars Company for $ 60,000 per year under a four-year direct-financing (finance) lease. The first payment is made at lease inception. The equipment has no... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/software-testing-and-quality-assurance/what-we-mean-by-good-software-1954539" > what we mean by good software </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/psychology/in-general-why-is-it-important-for-clinical-psychologists-to-1983130" > In general, why is it important for clinical psychologists to be culturally competent when working with members of this culture? </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/the-payroll-register-for-ritchie-manufacturing-co-for-the-week" > The payroll register for Ritchie Manufacturing Co. for the week ended September 14, 2012, is presented in the working papers. Instructions 1. Journalize the entry to record the payroll for the week.... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/class-employee-line-1-line-2-public-line-3-9779308" > class employee //Line 1 { //Line 2 public: //Line 3 employee(); //Line 4 employee(string, int, double); //Line 5 employee(int, double); //Line 6 employee(string); //Line 7 void setData(string, int,... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/in-the-novel-green-grass-running-water-by-thomas-king-2386781" > In the novel Green Grass Running Water by Thomas King. How does the power of knowledge occur and is their any coersion shown??? use quotes to support your answer. </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/data-is-collected-from-250-college-students-to-determine-if-1001589" > Data is collected from 250 college students to determine if regular class attendance is related to overall Grade Point Average (GPA). The results are below. Percentage of Class Meetings Attended... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/the-headline-of-a-news-article-posted-on-cbsnewscom-read-1001877" > The headline of a news article posted on cbsnews.com read, "A 'coin flip': Nearly half of U.S. murders go unsolved as cases rise." Suppose that the probability a murder is successfully solved is... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/suppose-the-random-variable-x-follows-a-normal-distribution-with-1002805" > Suppose the random variable X follows a normal distribution with mean = 54 and standard deviation following. a) P(X 60) c) P(49 Answered: 1 week ago </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/americans-face-greater-financial-barriers-in-accessing-careinsurance-deductibles-copayments-1003571" > Americans face greater financial barriers in accessing careinsurance deductibles, copayments, and out-of-pocket expensesthan do those in other high-income countries (Schoen et al., 2009b,2010,2011)... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/compute-the-riemann-sum-s43-to-estimate-the-double-integral-1002320" > Compute the Riemann sum S43 to estimate the double integral of f(x, y) = 9xy over R = [1,5] [1,2.5]. Use the regular partition and upper-right vertices of the sub-rectangles as sample points. (Give... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/research-methods-business/complete-any-necessary-ethical-scrutiny-processes-required-by-your-organisation-2106468" > complete any necessary ethical scrutiny processes required by your organisation and/or study centre. </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/research-methods-business/identify-and-address-ethical-issues-arising-from-your-research-and-2106467" > identify and address ethical issues arising from your research and the research of others; </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/research-methods-business/explain-the-development-of-national-and-international-standards-for-hr-2106465" > explain the development of national and international standards for HR practice; </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> </div> </div> </section> <hr class="expert-separator"> <div class="next-previous-button"> <div class="navigationButtons"> <a class="previousQuestionButton" href="/study-help/questions/landlords-provide-the-following-covenant-in-leases-and-7271626">Previous Question</a> <a class="nextQuestionButton" href="/study-help/questions/determine-the-spending-variance-using-the-following-data-and-indicate-7271628">Next Question</a> </div> </div> </div> <div class="promo items-center justify-center hidden" style="margin-left:-15px;"> <div class="app_promo"> <div class="app_promo_headline"> <img class="app_promo_icon" alt="Mobile App Logo" width="40" height="40" loading="lazy" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/mobile/finalLogo.png"> <p class="app_promo_title font-sans items-center">View Answer in SolutionInn App</p> </div> <button class="app_promo_action redirection question_open_url='q_id=7271627&q_type=2'"> Download on the App Store </button> <button class="btn btn-default app_promo_dismiss"> Continue with the mobile website </button> </div> </div> </main> </div> <div class="blank-portion"></div> <footer> <div class="container footerHolder"> <div class="footerLinksFlex"> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Services</p> <ul> <li><a href="/site-map">Sitemap</a></li> <li><a href="/fun/">Fun</a></li> <li><a href="/study-help/definitions">Definitions</a></li> <li><a href="/tutors/become-a-tutor">Become Tutor</a></li> <li><a href="/study-help/categories">Study Help Categories</a></li> <li><a href="/study-help/latest-questions">Recent Questions</a></li> <li><a href="/study-help/questions-and-answers">Expert Questions</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Company Info</p> <ul> <li><a href="/security">Security</a></li> <li><a href="/copyrights">Copyrights</a></li> <li><a href="/privacy">Privacy Policy</a></li> <li><a href="/conditions">Terms & Conditions</a></li> <li><a href="/solutioninn-fee">SolutionInn Fee</a></li> <li><a href="/scholarships">Scholarship</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Get In Touch</p> <ul> <li><a href="/about-us">About Us</a></li> <li><a href="/support">Contact Us</a></li> <li><a href="/career">Career</a></li> <li><a href="/jobs">Jobs</a></li> <li><a href="/support">FAQ</a></li> <li><a href="/campus-ambassador-program">Campus Ambassador</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-12"> <p>Secure Payment</p> <div class="footerAppDownloadRow"> <div class="downloadLinkHolder"> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/common/footer/secure_payment_method.png" class="img-fluid mb-3" width="243" height="28" alt="payment-verified-icon" loading="lazy"> </div> </div> <p>Download Our App</p> <div class="footerAppDownloadRow"> <div class="downloadLinkHolder mobileAppDownload col-md-6 col-lg-6 col-sm-6 col-6 redirection" data-id="1"> <img style="cursor:pointer;" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/home_page/google-play-svg.svg" alt="SolutionInn - Study Help App for Android" width="116" height="40" class="img-fluid mb-3 " loading="lazy"> </div> <div class="downloadLinkHolder mobileAppDownload col-md-6 col-lg-6 col-sm-6 col-6 redirection" data-id="2"> <img style="cursor:pointer;" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/home_page/apple-store-download-icon.svg" alt="SolutionInn - Study Help App for iOS" width="116" height="40" class="img-fluid mb-3" loading="lazy"> </div> </div> </div> </div> </div> <div class="footer-bottom"> <p>© 2024 SolutionInn. All Rights Reserved</p> </div></footer> <script> window.addEventListener("load",function(){jQuery(document).ready(function(t){t.ajax({type:"POST",url:"/",data:{trackUserActivity:!0,reqUri:document.URL,referer:document.referrer},success:function(t){}})})},!1),window.addEventListener("load",function(){jQuery(document).ready(function(t){t.ajax({type:"POST",url:"/",data:{insertCrawler:!0,reqUri:document.URL,parseTime:"0.056",queryTime:"0.01654768548584",queryCount:"30"},success:function(t){}})})},!1),window.addEventListener("load",function(){jQuery(document).ready(function(){function t(t="",n=!1){var i="itms-apps://itunes.apple.com/app/id6462455425",e="openApp://action?"+t;isAndroid()?(setTimeout(function(){return window.location="market://details?id=com.solutioninn.studyhelp",!1},25),window.location=e):isIOS()?(setTimeout(function(){return window.location=i,!1},25),window.location=e):(i="https://apps.apple.com/in/app/id6462455425",n&&(i="https://play.google.com/store/apps/details?id=com.solutioninn.studyhelp"),window.open("about:blank","_blank").location.href=i)}jQuery("#appModal").modal("show"),jQuery(".download-app-btn").click(function(){t(jQuery(this).attr("question_open_url"))}),jQuery(".redirection").click(function(){var n=jQuery(this).attr("question_open_url"),i=jQuery(this).attr("data-id");void 0!=n?1==i?t(n,!0):t(n,!1):1==i?t("",!0):t("",!1)}),jQuery(".app-notification-close").click(function(){jQuery(".app-notification-section").css("visibility","hidden");var t=new FormData;t.append("hide_notification",!0),jQuery.ajax({type:"POST",url:"/",data:t,cache:!1,contentType:!1,processData:!1,beforeSend:function(){},success:function(t){location.reload()}})})})},!1); </script> </body> </html>