saving . . . saved creating condition in scilab console has been deleted. creating condition in scilab console has been hidden .
creating condition in scilab console
Title
Question
I want to create program to calculate area of circle

if radius r is less than 10 calculate Area of circle
other wise print "NA"

Scilab Conditional-Branching 03-04 min 0-10 sec 04-05-19, 3:39 p.m. prasadprabhu1983

Answers:

if r <10
A = %pi*r^2
else
disp("NA")
end
04-05-19, 3:42 p.m. siddharth11235@gmail.com



04-05-19, 3:42 p.m. manasdas17


Please refer videos on conditional branching and come up with your own solution. Still if you are unable to get an output post your program here. We will help you out with the corrections in your program.
04-05-19, 3:43 p.m. rashpat93


Log-in to answer to this question.