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
What are the specialized grinding methods?
In a furnace, 2 chemical reactions are happening – 1 mole of solid carbon reacts with 1 mole of oxygen gas to generate 1 mole of carbon dioxide gas; 1 mole of solid carbon reacts with 0.5 mole of oxygen gas to generate 1 mole of carbon monoxide gas. In a given process, 100 kmol of carbon is burned in a furnace. (a) Calculate the theoretical oxygen gas needed by assuming that all the carbon is burned completely to carbon dioxide gas. (b) Calculate the theoretical air needed by assuming that all the carbon is burned completely to carbon dioxide gas and there is only 21 % of oxygen gas. (c) Determine the amount of air required (in kmol) if 50 % excess oxygen gas must be satisfied for (a) and (b). (d) It has latter been found that 20 % of the carbon undergoes incomplete combustion resulting to carbon monoxide gas production. The rest of the carbon undergoes complete combustion. Calculate the total oxygen gas required stoichiometrically based on the actual process.
Dielectric materials in static fields
Explain the advantages of using a ball mill over other conventional methods of crushing?
how FOULING effectd the heat transfer rate
Please help to get IOCL/HPCL or other chemical engineering paper pls send kathir_skv@yahoo.com Regards, kathirvel
why transmission lines using 220KV.
ENGINEERING MATERIAL - EXAMPLE 12.3 : Let a ^ 2 = a x a and a ^ 3 = a x a x a where ^ is power function. Niobium is a metal with a body-centered cubic structure. The length of the unit cell structure is b = 0.3349 nm. (a) Find the volume for a unit cell structure for niobium. (b) There are 2 atoms per unit cell structure of niobium. The metal has a molar mass of 92.9 g / mol. One mole of the metal consists of 6.02 x 10 ^ 23 atoms. Find the mass of niobium per unit cell and the density of niobium.
Why Packed Bed is not preffered in seperation process while Tray column is used in Industries predominatly??
what is the main components of air
UNIT OPERATION - EXAMPLE 9.1 : 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 mean by pump head 5 meter?