Question: answer all Q Task 3: Based on the flowchart below, use conditional operator to write a C Program that will ask the user to enter






Task 3: Based on the flowchart below, use conditional operator to write a C Program that will ask the user to enter any number and tell if it is positive, negative or zero. Follow the dialog format shown below: (3 marks) Start DECLARE VARIABLE num INPUT num num> OUTPUT num, "Positive OUTPUT num numco num =46?printf("Bachelor"):credit>=31?printf("Advanced Diploma"):printf("Diploma"); c. credit=46?printf"Bachelor credit>=317printf("Advanced Diploma sprintf("Diploma) credit 317printf("Diploma:credit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
