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
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 |
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
write a c program to store and print name,address,roll.no of a student using structures?
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
code snippet for creating a pyramids triangle ex 1 2 2 3 3 3
the format specified for hexa decimal is a.%d b.%o c.%x d.%u
why we are using semicolon at the end of printh statment
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?
what is the difference between i++ and ++i?
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”.
What is diffrance between declaration and defination of a variable or function
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?