Jacob Boulrice
Followers: 0 Following: 0
Feeds
提问
How to make a function that outputs true or false (logical) if a number inputted is in a predetermined vector?
% Here is my code: function [x] = testLucky1 % testLucky(x) - determine whether x is a lucky number % return true (1) if x ...
2 years 前 | 2 个回答 | 0
2
个回答提问
How to output individual digits from a user input of 2 digit numbers?
% This is my code so far. Say n=10, output would be: "thanks, the digits are 10 and 10" % In this case, I want the output to ...
3 years 前 | 2 个回答 | 0