Posts

Showing posts from September 8, 2019

Lab Task

Image
Program //*screen Buffer size   width 101    height 9008 window size            width 101    height 30*/ #include<iostream> #include<windows.h> #include<stdio.h> #include<conio.h> using namespace std;  void gotoxy(short x, short y){  HANDLE Manipulador;  COORD Coordenadas;  Manipulador=GetStdHandle(STD_OUTPUT_HANDLE);  Coordenadas.X=x;  Coordenadas.Y=y; SetConsoleCursorPosition(Manipulador,Coordenadas); } int menu(); int sum=0,g=1,kk,hh=1; class Labtask{  public:   int a[10]={1,2,3,4,5,6,7,8,9,10},value[10],sort[10];   float b[10];   void Q1(){    cout<<"\n\nThe output in tabular form :"<<endl;    for(int i=0;i<10;i++){     cout<<a[i];     cout<<endl;    }   }   int Q2(float d);   int Q3();   int Q4();   ...