There are 100 students in a class. The management keep
information in two tables. Those two tables are given like
Roll no Name Age
001 ABC 15
002 XYZ 14
and
Roll No Subject Marks
001 Math 75
001 Physics 55
002 Math 68
001 Hindi 69

They want the information like this

Roll No Name Hindi Physics Math Total
001 ABC 69 55 75 199
002 XYZ 68 74 84 226

And

Roll No Suject Highest
001 Math 98
007 Physics 84
021 Hindi 74
All 275

All information is kept in structure in main memory.
You have to find last two tables.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Which compiler does turbo c++ use?

0 Answers  


What is the use of "new" operator?

0 Answers  


Write about the use of the virtual destructor?

0 Answers  


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

0 Answers  


What does it mean to declare a member function as static?

0 Answers  






Can you explain the term "resource acquisition is initialization?"

1 Answers   Amazon,


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

0 Answers  


Is main a class in c++?

0 Answers  


What are maps in c++?

0 Answers  


Why do we need function?

0 Answers  


Any one help me plzzzz..... i have an assignment...... that is ______*********_______ Write a program that takes an equation as a string and does the following: Solve 8 parts to achieve 100% 1 - 5 are compulsory. Input: 2x^2+3x+4=0 1) read a quadratic equation 2) print its coefficients (coefficients range is 0 to 9) 3) print the solution of the equation 4) tackle imaginary solution e.g. ( (2+3i), (2-3i) ) 5) allow spaces within the input 6) after solving one equation; ask for an other, terminate on empty line. * 7) tackle negative values as well * 8) tackle more than one values of same exponent (e.g. 2x^2 + 3x^2 + 4x + 3 = 0)* 9) use strtok * 10) print the solution in fractions e.g. 1.5 should be printed as (1)1/2 * 11) coefficient can be greater than 9** 12) values on both sides of the ‘=’ sign** 13) plot the graph of the polynomial** 14) use a compiler other than Borland** 15) submit before May 25, 2009 11:59 PM ** _______******________ plz send me c++ code at sweety.alvi@gmail.com

1 Answers  


If dog is a friend of boy, is boy a friend of dog?

0 Answers  


Categories