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

 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 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
image text in transcribed
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 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!