Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objective: by the end of the experiment the student should be able to use For loops with 2D array . Task: Write a C++ program

Objective: by the end of the experiment the student should be able to use For loops with 2D array.

Task:

Write a C++ program and DRAW a FLOWCHART the declare 2 D array for fractional numbers 3 rows and 6 columns, assign values to the array using the same line of declaration using nested curly braces, (show the code then comment) how to assign values to the array using the same line of declaration using single curly braces, (show the code then comment) how you ask the user to enter each element of the array content, compute the sum of each row and store the result in the last column, starting from cell 0,0 compute the average of the diagonal elements, handwriting trace of the code for all iterations and epochs are required.

Guidelines for Homework:

  • Use the 1st page of this file as the cover page for your homework.
  • Comment your Name and ID at the beginning of the code.
  • Use comments for documentation.
  • Use flowcharts.
  • Copy of the code.
  • Use screenshot.
  • Use meaningful variable names using camelCase or PascalCase or snake_case naming convention.
  • Use an online C++ platform.
  • Handwriting trace.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions