System.out.println();
Scanner keyboard = new Scanner(System.in);
System.out.println("Are you a computer major?");
String cmAnswer = next keyboard();
cmAnswer = cmAnswer.toUppercase;
if (cmAnswer = "YES")
{
System.out.println();
System.out.println("Welcome friend!/nThis is the place for you!");
System.out.println("Help yourself to a nice cup of Java.");
}
Else
System.out.println("GO AWAY!");
int main {
cout << "Me Comp Eng major!";
cout << "But the first year is horribly easy, like this code.";
char x;cin >> x; //I use devC to be a rebel in my class...
return 0;
}
Technomancer wrote:Now the real test is whether you can do it in assembly.
Warrior4Christ wrote:I've done x86 previously (self learned), and we're learning DLX now.
Lucky TurkishMonky's program didn't print any integers, eg shooraijin?
Mithrandir wrote:I don't know if I should be upset about MyrrhLynn's no-assembly-required school.
And of course, I had to throw in the pun.
Mithrandir wrote:That depends entirely on what I'm doing. If I'm TALKING, then I'M not the one getting impatient.
I can't say the same for a certain task-oriented friend of mine...
Mithrandir wrote:Harvey Mudd
I'm in my final year of high school and I'm attempting to get into the Software Engineering program at the University of Waterloo. Does that count?
Users browsing this forum: No registered users and 257 guests