Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Post New Answer



More Chemical Engineering Interview Questions

ACCOUNTING AND FINANCIAL ENGINEERING - EXAMPLE 34.30 : A biochemical engineering sales contract adopts Cost Recovery Method in its company accounting. Gross profit is realised only when cash collections exceed the total cost of goods sold. Let Y = Original Cost Recovered, Z = Gross Profit Realised. Its property was sold at A = $500k with cost of B = $300k. Its engineering accountant receives cash of C = $240k in first year, D = $180k in second year and E in third year. (a) Find the values of Y and Z in : (i) first year; (ii) second year; (iii) third year. (b) What is the exact value of E if all cash has been fully received from sales?

1 Answers  


what is load and what are the types of load?

0 Answers  


Please help to get IOCL/HPCL or other chemical engineering paper pls send kathir_skv@yahoo.com Regards, kathirvel

0 Answers   Essar,


What is the easiest way to extract hydrogen from water and the safest way to store it?

0 Answers  


My previous company dismissed from my job due to some reason. But they have given 1 year experience certification. But i worked for 1 year 4 months, How do i answer if interviewer asked what did you do for six months.why are you leaving your job?

4 Answers  






ENGINEERING NUMERICAL METHODS - EXAMPLE 19.2 : For a mixture of benzene (B), toluene (T) and xylene (X), the equation applies where x for B, T and X will sum up to 1. The equation of x for each component is x = (L / V + 1) (F) / (L / V + K). The data of F for each component are : 0.5 for B, 0.35 for T, 0.15 for X. The data of K for each component are : 1.98 for B, 0.76 for T, 0.24 for X. When x for B + x for T + x for X = 1, find the values of (a) L / V; (b) x for each component of B, T, X respectively. You may use Excel program - Data : What-If-Analysis for Goal Seek to perform the iterative calculations.

1 Answers  


What are advantages using hollow shaft impeller?

0 Answers  


What is the process of including heat exchangers in ammonia refrigeration system?

0 Answers  


What is a "saltation velocity"?

0 Answers  


What is carbon sequestration?

0 Answers  


is extractive distillation&#1246;H

0 Answers  


what is the purpose of knockout drum in SRU?

3 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5076)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4445)
  • Electrical Engineering Interview Questions Electrical Engineering (16606)
  • Electronics Communications Interview Questions Electronics Communications (3915)
  • Chemical Engineering Interview Questions Chemical Engineering (1092)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (214)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (258)
  • Instrumentation Interview Questions Instrumentation (2992)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (123)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (0)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1378)