Filter löschen
Filter löschen

Write a Matlab program that prints a table with 10 lines of output. On output line number k, the program should list the numbers from k to k^2 (line number to the power 2). Together with the sum of even numbers only. Note that there is a space betwee

2 Ansichten (letzte 30 Tage)
Write a Matlab program that prints a table with 10 lines of output. On output line number k, the program should list the numbers from k to k^2 (line number to the power 2). Together with the sum of even numbers only. Note that there is a space between the printed numbers. You have to use loops to solve this problem.

Antworten (1)

Shivam Prasad
Shivam Prasad am 16 Okt. 2019

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by