hi i need help with 2 things
how do you string this in only two statements
String studentName = "John Do";
int StudId = 400346;
double gradePoint = 3.45;
so that it comes out to something like this
Student Name Student Id Grade Point
XXXXXXX 999999 9.99
i have so far
Console.Write("Student Name\tStudent Id\tGradePoint\n" );
Console.WriteLine(studentName+StudId+gradePoint) ;
but i can't tab over the data
how do you string this in only two statements
String studentName = "John Do";
int StudId = 400346;
double gradePoint = 3.45;
so that it comes out to something like this
Student Name Student Id Grade Point
XXXXXXX 999999 9.99
i have so far
Console.Write("Student Name\tStudent Id\tGradePoint\n" );
Console.WriteLine(studentName+StudId+gradePoint) ;
but i can't tab over the data
Aren't you simply looking for something like this?
Console.WriteLine(studentName + "\t" + StudId + "\t" + gradePoint);
?
Console.WriteLine(studentName + "\t" + StudId + "\t" + gradePoint);
?