Question: Exercise 3 - Exercise Objectives Using simple input and output statements Using arithmetic operators Using comments Problem Description Without using any selection statement, develop and

 Exercise 3 - Exercise Objectives Using simple input and output statements

Exercise 3 - Exercise Objectives Using simple input and output statements Using arithmetic operators Using comments Problem Description Without using any selection statement, develop and run a C program that Displays your information properly: student name, id, section number, instructor name, and student email Declare 2 arrays of integers, each array of size 3. The arrays should be called first and second Declare an arrays of integers of size 4 called result Prompts (asks) the user to enter two positive integers, each integer of exactly 3 digits (such as 361). > Read in each number using a single statement Note: Assume the user will enter a proper number of exactly 3 digits, no need to check for improper input > The program inserts the 3 digits of the first number in the array called first > Similarly, the program inserts the 3 digits of the second number in the array called second. After that, the program finds the sum of the two numbers by doing summation of the values in the two arrays cells and puts the output in the array "result". Each cell in result array must contain one digit only. > Do not attempt to do summation without using the arrays. (you get 0 if you do the summation without using arrays) Do not use any selection statement (you lose 3 marks if you use a selection statement) Add your name title, and email address as a comment at the beginning of the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!