![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6802366_1524547900819_DEF.jpg)
koushik roy
Followers: 0 Following: 0
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
5 years 前 | 0