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
diffirance between heat transfer & thermodynamics
3 Answers Shinsung Petrochemicals,
Question 91 - In the application of Theory of Spectrometry in spectrophotometer, let n = N x C x V, V = A x t, e = a x N where n = number of molecules, N = Avogadro's number, V = volume of cuvette, A = area of cuvette, t = thickness of cuvette, C = concentration of fluid in the cuvette, e = extinction coefficient, a = effective area of molecule. (a) By using calculus in dI = -I x a x N x C x dt, prove that ln (I / Io) = -a x N x C x t, where dI is the small difference in I and dt is the small difference in t. I = intensity of light. Io = initial intensity of light. (b) Show by calculations that ln (Io / I) = e x C x t based on the answer in the previous question (a). (c) Find the equation of log (Io / I) as a function of e, C and t based on the answer in the previous question (b).
What is the most common carrier gas used in pneumatic conveying?
What is minimum fluidization velocity?
ACCOUNTING AND FINANCIAL ENGINEERING - EXAMPLE 34.32 : In the calculation of the total cost of production of an engineering material, a linear equation Y = MX + C could be applied. Let T = total cost, F = fixed cost, V = variable cost, Q = quantity produced, W = variable cost per unit produced. Form a linear equation that relates : (a) T, F and V; (b) V, Q and W.
What is a Spool in terms of piping Industry?
Hi, Please give me chemical engineering paper for IOCL exam for entire written exam, GD and personel interview model questions to my email id. (chemistnathan@rediffmail.com) Rgds, Ragu
BIOCHEMICAL ENGINEERING INSTRUMENTATION - EXAMPLE 29.1 : In the application of Theory of Spectrometry in spectrophotometer, let n = N x C x V, V = A x t, e = a x N where n = number of molecules, N = Avogadro's number, V = volume of cuvette, A = area of cuvette, t = thickness of cuvette, C = concentration of fluid in the cuvette, e = extinction coefficient, a = effective area of molecule. (a) By using calculus in dI = -I x a x N x C x dt, prove that ln (I / Io) = -a x N x C x t, where dI is the small difference in I and dt is the small difference in t. I = intensity of light. Io = initial intensity of light. (b) Show by calculations that ln (Io / I) = e x C x t based on the answer in the previous question (a). (c) Find the equation of log (Io / I) as a function of e, C and t based on the answer in the previous question (b).
What's -74C, dew point is better the -70C dew point In draying unit .
When an expansion is joint needed on the shell side of a shell and tube heat exchanger?
Define viscosity?
What are the advantages of using a ball mill over other conventional methods of crushing?
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)