include<iostream.h>
include<conio.h>
include<dos.h>

void main()

#include<iostream.h>
#include<conio.h>
#include<dos.h>
void main()
{
 clrscr();
 char un[4]="123",pw[4]="123",unn[3],upw[3];
 for(int x=2;x<=79;x++)
 {
  gotoxy(x,2);cout<<"Û";
  gotoxy(x,24);cout<<"Û";
 }
 for(int y=2;y<=24;y++)
 {
  gotoxy(2,y);cout<<"Û";
  gotoxy(79,y);cout<<"Û";
 }
 gotoxy(5,3);cout<<"fly aboard system";
 gotoxy(3,4);cout<<"username";cin>>unn;
 gotoxy(3,5);cout<<"password";cin>>upw;
 if(un[3]==unn[3] && pw[3]==upw[3])
 {
  for(int a=1;a<30;a++)
  {
  delay(100);
  sound(555);
  cout<<"Û";
 }
 nosound();
 }
 else
 {
  gotoxy(3,6);cout<<"wrong";
 }
 getch();
}

what's the question?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.