Input the Roll Number, Name and marks of a small section of
5 students. Display the marks database
of these students in the following format. The "Roll Number"
and "Name" fields are left justified with
15 columns, and 25 columns, respectively. The "Marks" field
is right justified with 5 columns.
Assume the marks are in multiples of 0.5 and are from 0 to
100. Display some spaces between each
field appropriately.
Roll Number
11001
11050
11081
11225
Y2367
Name
FIRST NAME LAST NAME
FIRSTNAME2 LASTNAME2
I1. I2. FIRSTNAME3
FIRSTNAME4 M1. LASTNAME4
FIRSTNAME5 MID LASTNAME5
Marks
95
80
88
77.5
89.5
The input can be stored in a file, say, marksdata.txt, and
the program can be executed by using
./a.out < marksdata.txt
No Answer is Posted For this Question
Be the First to Post Answer
Define pneumatic conveying?
What types of valves are recommended for slurry services?
HOw to derive reynolds equation?
In Galvonised iron and stainsteel pipes, in which pipe friction losses will more and why ?
How can I remove/decrease TDS from sewage waste water? At the moment it is 900gm/l. What is recommended TDS level to dispose sewage water in sea?
QUANTUM CHEMISTRY AND CHEMICAL ENGINEERING - EXAMPLE 31.3 : In photoelectrical effect analysis of quantum chemistry, let E = kinetic energy of electron, p = intensity of UV light, f = frequency of UV light. According to Classical Theory, E = c for all values of f, E = mp. According to Quantum Theory, E = c for all values of p, E = mf + c. In a graph, m and c are constants where m is slope and c is y intercept. If m = 2 and c = 3 with similar value of E : (a) find the value of p according to Classical Theory; (b) find the value of f according to Quantum Theory.
The process conditions of the fuel gas are as follows: Temperature = 25 deg C Pressure = 4 bar g Calculate the line size for the fuel gas supply line to the superheater
What is meant by surging in compressors?
CHEMICAL FLUID MECHANIC - EXAMPLE 3.2 : The terminal velocity of a falling object, v is given by v = sqrt [ 4g (R - r) D / (3Cr) ] where sqrt is the square root of, g = 9.81, D = 0.000208, R = 1800, r = 994.6, m = 0.000893. The Reynold number, L is given by L = rD (v) / m. The C for various conditions are : C = 24 / L for L < 0.1; C = 24 (1 + 0.14 L^0.7) / L for 0.1 <= L <= 1000; C = 0.44 for 1000 < L <= 350000; C = 0.19 - 80000 / L for 350000 < L. Find the value of v for the situation above by trial and error, ^ is power, <= is less than or equal to.
Chemical Engineering Unit Operation - Which of the sequence below represent a feasible flows of ethanol processing plants using cellulose as starting material? A. raw material --> heat exchanger --> distillation column --> reactor. B. reactor --> distillation column --> raw material --> heat exchanger. C. heat exchanger --> raw material --> distillation column --> reactor. D. raw material --> heat exchanger --> reactor --> distillation column. E. distillation column --> raw material --> reactor --> heat exchanger.
what is difference between B.Tech. and B.E. in chemical engineering
For amonia manufacturing process if pressure, temperature would be increase over optimum level what would be happen?And what steps should be taken?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)