Custode Dmitri Francesco
Followers: 0 Following: 0
Feeds
提问
I'm trying to write a program that types out a line with n integers starting with n0 , separated by commas and spaces. It needs to use a forloop and should turn out like this n=10 n0=5 --> 5, 6, 7, 8, 9, 10, 11, 12, 13, 14. This is what I have so far
%Countem %Program that types out a line with n integers starting with n0 %Author Dmitri clear;clc %% set parameters n=10 %...
4 years 前 | 1 个回答 | 0