Calculate area of sector
A=function(r,seta)
r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
3 months 前
已解决
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.]
Non-scored bonus...
3 months 前
已解决
Problem Set 2
Make a calculator by the four main operators (op):
+
-
*
/
And the two numbers (n1, n2).
Don't forget to check to divisio...
3 months 前
已解决
Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then...
If it's length from 1 to 5, sz = ...
3 months 前
已解决
Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns.
Cases from 1 to 3, b = true.
Otherwise, b = false.
3 months 前
已解决
NOT
If a not equal to zero, b = true, else, b = false.
3 months 前
已解决
OR
If a greater than zero or c less than 10, b = true, else, b = false.
3 months 前
已解决
AND
If a greater than 0 and n less than 10, b = true, else, b = false.
(Checking a should be in one line by AND special sign in MAT...
3 months 前
已解决
Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.
3 months 前
已解决
If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.
3 months 前
已解决
If-Else
If a more than zero, b = true, else, b = false.