Sudarshan Agrawal
Followers: 0 Following: 0
Statistik
RANG
166.674
of 294.421
REPUTATION
0
ANTWORTZUSTIMMUNG
0.0%
ERHALTENE STIMMEN
0
RANG
of 20.110
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 151.653
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. Write a function called smallest_multiple that returns a uint64, the smallest positive number that is evenly divisible by all of the numbers fr
function a=smallest_multiple(n) a=1; x=mod(a,(1:n)); while sum(x)~=0 a=a+1; x=mod(a,(1:n)); if a>in...
etwa 6 Jahre vor | 0 Antworten | 0
0
AntwortenWrite a function called fare that computes the bus fare one must pay in a given city based on the distance travelled. Here is how the fare is calculated: the first mile is $2. Each additional mile up to a total trip distance of 10 miles is 25 cents.
function cost = fare(dist,age) x=round(dist); if x>=0 && x<=1 f=2; if x>1 && x<=10 f=2+(0.25*(...
mehr als 6 Jahre vor | 0
Frage
Write a function called fare that computes the bus fare one must pay in a given city based on the distance travelled. Here is how the fare is calculated: the first mile is $2. Each additional mile up to a total trip distance of 10 miles is 25 cents.
function a = fare(dist,age) x=round(dist); if x>=0 && x<=1 fare=2; if x>1 && x<=10 fare=2+(0.2...
mehr als 6 Jahre vor | 4 Antworten | 0