Feeds
已回答
Develop a program to display outputs based on inputs
clc clear all a=input('Enter Age in Years (1 to 120)='); if(a<17) fprintf("You can not Vote'); fprintf('Please take Your Vot...
Develop a program to display outputs based on inputs
clc clear all a=input('Enter Age in Years (1 to 120)='); if(a<17) fprintf("You can not Vote'); fprintf('Please take Your Vot...
3 years 前 | 0
| 已接受
已回答
How to create an array with user inputs?
clc clear all n=2; m=2; for i=1:n for j=1:m fprintf('Enter a(%d,%d)=',i,j); a(i,j)=input(''); end end
How to create an array with user inputs?
clc clear all n=2; m=2; for i=1:n for j=1:m fprintf('Enter a(%d,%d)=',i,j); a(i,j)=input(''); end end
3 years 前 | 0

