Feeds
已回答
I need a program to check prime numbers
clc clear all num=31; a=primes(num); prm=a((length(a))); if num==prm out=num; % If the number is prime end
I need a program to check prime numbers
clc clear all num=31; a=primes(num); prm=a((length(a))); if num==prm out=num; % If the number is prime end
6 years 前 | 0
