English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

no id.no name sex department
1 001/98 sara f computer scince
2 002/98 dawit m computer scince
3 003/98 selam f biology
4 405/96 abel m mates
5 010/98 tadesse m computer scince

2006-06-11 19:36:33 · 2 answers · asked by hiwot4life2 1 in Computers & Internet Programming & Design

2 answers

void main()
{
cout<<"no"<<"/t"<<"id.no"<<"/t"<<"name"<<"/t"<<"sex"<<"/t"<<"department";
cout<<"1 001/98 sarafcomputerscience\n";
cout<<"your information";
cout<<"your information";
cout<<"your information";
cout<<"your information";

}
if u want to get input at runtime try to input thr cin>> statement and get that output by cout statement

2006-06-12 03:40:09 · answer #1 · answered by neha 2 · 0 1

This one looks like a nobrainer.
I mean just put those strings into some cout statements and you should get your program.
Are you sure this is what you want?
or is it that you need them formatted in some form or that you are looking to know how to query the DB?

2006-06-11 19:39:16 · answer #2 · answered by Neil 5 · 0 0

fedest.com, questions and answers