You need to have JavaScript enabled in order to access this ">

Lab 10 Questions.html -

Info icon This preview shows pages 1–3. Sign up to view the full content.

<div role="alert" class="ic-flash-static ic-flash-error"> <h1>You need to have JavaScript enabled in order to access this site.</h1> </div> Skip To Content Dashboard Account Dashboard Courses Groups Calendar 2 Inbox Close Object 1 My Dashboard COMP101 Assignments Lab 10 Questions 2016-2017 Fall (Q1) Home Announcements Assignments Discussions Grades People Files Syllabus Quizzes
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Lab 10 Questions Due No Due Date Points 0 Question 1: Write a program that reads two binary numbers of length 5 from the user as two integer arrays. The program should sum them up into another array, and print out the result to the console. NOTE : Be careful about the size of the summation array. HINTS : When reading numbers to array, read in reverse order. It will help you when making addition. This program should consist of 4 for loops: Loop #1: reading first number to first array (from index 4 to 0)
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '16
  • Sukru
  • Summation, Candidate, Edit rating Delete

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern