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
Question 76 - Let C% be the fractional crystallinity, Rs = density of sample, Ra = density of amorphous form and Rc = density of crystalline form. In a polymer, these unknowns could be related by the equation C% = (Rc / Rs) (Rs - Ra) / (Rc - Ra). (a) Find the equation of Rc as a function of C%, Rs and Ra. (b) Two samples of a polymer, C and D exist. For sample C, C% = 0.513 when Rs = 2.215 unit. For sample D, C% = 0.742 when Rs = 2.144 unit. Both samples C and D have the same values of Ra and Rc. Find the values of Ra and Rc in 6 decimal places.
Three solid objects of the same material and of equal mass – a sphere, a cylinder (length = diameter) and a cube – are at 5000C initially. These are dropped in a quenching bath containing a large volume of cooling oil each attaining the bath temperature eventually. The time required for 90% change of temperature is smallest for a) cube b) cylinder c) sphere d) equal for all the three whyyyyyyy???????
can u tel me d question paper of gail?
What is difference between overall heat transfer coefficient & individual heat transfer coefficient?
What is the order of a chemical reaction, , if the rate of formation of 'C', increases by a factor of 2.82 on doubling the concentration of 'A' and increases by a factor of 9 on trebling the concentration of 'B'?
Question 27 – By using Excel or other easiest programming package, explain how I, the integral of sin x dx from 0 to 3.142 could be approximated using random number. Find the exact value of I.
i want to knowwhat kind of questions in interview in adnoc?
What's -74C, dew point is better the -70C dew point In draying unit .
What is the basic difference between dispersion & distribution in any polymer blend or alloy??
What is gibbs free energy?
Explain the reasons of removal of particles from effluent gas?
What are some guidelines for designing for liquid and gas velocities in process plant piping?
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
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)