Draw a flowchart to produce a printed list of all the students
over the age of 20 in a class .The input records contains the
name and age of students. Assume a sentinel value of 99 for
the age field of the trailer record



Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The ..

Answer / Raghvendra Vikram Yadav

Creating a flowchart for this problem would involve several steps, including:
1. Starting with an input loop that reads student names and ages until it encounters the sentinel value (99).
2. For each student, check their age to determine whether they are older than 20.
3. If the student is over 20, add their name to an output list or file.
4. Once all students have been processed, print the list of students who are over 20.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

1 Answers  


write a c program to store and print name,address,roll.no of a student using structures?

7 Answers  


What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 Answers  


code snippet for creating a pyramids triangle ex 1 2 2 3 3 3

4 Answers  


the format specified for hexa decimal is a.%d b.%o c.%x d.%u

7 Answers   TCS,


why we are using semicolon at the end of printh statment

2 Answers   HCL,


15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?

2 Answers   CTS,


what is the difference between i++ and ++i?

5 Answers  


whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.

1 Answers  


What is diffrance between declaration and defination of a variable or function

4 Answers  


How to add two numbers without using arithmetic operators?

18 Answers   College School Exams Tests, e track, Infosys, Pan Parag, Sapient, TCS,


What is anagram in c?

1 Answers  


Categories