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
How does a tank-blanketing valve operate?
In Galvonised iron and stainsteel pipes, in which pipe friction losses will more and why ?
Calculate the line size for a cooling water line with a volumetric flowrate of 1200m3/h of water. Density of water = 1000kg/m3
PLEASE ANY ONE READ THIS MESSAGE ANSWER ME AT MY EMAIL ID surendrasaroj18@gmail.com sir i am prepairing for section engineer exam taken by railway my branch is chemical engineering i want previous paper of chemical engineering of section engineer exam taken by railway. please answer me as soon as possible thankyou
Why should a magnesium ribbon be cleaned before burning in air?
What are the various utilities of the process plant?
I am a student of class 12. With PCMB group. But I Am not good at math. So I wanted to ask whether Chemical engineering can be a good option for me.???
respected sir,i have been selected in the written examination(CHEMICAL) of IOCL Panipat held on 30 m1rch, So please tell me which type of questions asked in this interview frequently.Can u mail me some questions?
22 Answers HCL, HCPL, HPCL, IOCL,
which book is better for written test of a refinery or a chemical industry-o.p gupta or DR.RAM PRASAD?
Question 94 - The resolution of separation, Rs for chromatography is given by the formula Rs = (difference in retention time) / (average width at the base). In a chromatogram, 3 peaks a, b and c are found. Average widths W at the bases of the solutes are : Wa = 20 s, Wb = 40 s, Wc = 30 s. Resolutions of separation, Rs for solutes b and c in comparison to a are 2 and 4 respectively. The differences in retention times T for b and c in comparison to a are (Tb - Ta) and (Tc - Ta), Ta = Tc - Tb : (a) Form 2 equations involving Rs as a function of Wa, Wb, Wc, Ta, Tb and Tc. (b) Find the values of Ta, Tb and Tc.
we have 2 O2/Comb Analyzers Servomex Model 2700 in service for one of the furnaces in our chemical plant. It is giving High Temperature Alarm. Checked Temperature and found it to be 800 Deg C whereas Set Point is 700 Deg c. It is strange why is temperature not at SP. Also response is 23 % with 21 % Inst Air and with N2 reading is not coming down. please clarrify this issuses very urgent
what is the hearth and arch pressure in furnace?
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)