Write a program to assign percentage marks of a student and print "Pass"
or "Fail" using ternary operator. (>=40% is pass).
Answers
Answered by
1
Student=(marks>=40%)?Pass:Fail;
Answered by
0
Answer:
using if function in exel
Explanation:
type =if(
then type cell address
i.e a4:d4
then enter criteria
ie ‹50
then inside inverted commas type fail
"fail"
then inser comma ,
then in inverted commas type "pass"
i.e =if((a4:d4)‹50,"fail","pass")
Similar questions
Computer Science,
5 months ago
India Languages,
5 months ago
Math,
5 months ago
Math,
10 months ago
History,
10 months ago
Chemistry,
1 year ago
Math,
1 year ago