- Information
- AI Chat
Was this document helpful?
Programming Lab Report 11
Course: Computer Engineering
158 Documents
Students shared 158 documents in this course
University: Pangasinan State University
Was this document helpful?
LABORATORY ACTIVITY NO. 11
Display Output Programming Activity
OBJECTIVE: To make a program that will display one’s basic information.
PROCEDURE: Make a program that will print out the following with your
information.
Sample Output:
PROGRAM:
#include<iostream>
#include<windows.h>
using namespace std;
void position(int x,int y)
{
COORD coordinates;
coordinates.X = x;
coordinates.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coordinates);
}
int main()
{
position(40,0);
cout<<"LAB 1";