Beruflich Dokumente
Kultur Dokumente
TOTAL SCORE:
Output Figure:
Code:
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int qrs[5] [3]={{63,98,38},
{33,32,55},
{22,11,48},
{60,71,76},
{46,67,56}};
int m,n;
for(m=0; m<=4; m++){
for(n=0; n<=2; n++)
cout<<qrs[m][n]*25/17<<"\t";
cout<<endl;}
getch();}
NFC Institute of Engineering & Technology, Multan Lab manual
Department of Chemical Engineering C++
Output Figure:
Programme:
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,r,c;
cout<<"enter value of a";
cin>>a;
for(a=3; a<=9; a++){
NFC Institute of Engineering & Technology, Multan Lab manual
Department of Chemical Engineering C++
r=a*c+24;
cout<<a<<"*"<<c<<"+"<<2<<"="<<r<<endl;}
getch();
}