0% found this document useful (0 votes)
18 views19 pages

Codes

Uploaded by

arafatabrar003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views19 pages

Codes

Uploaded by

arafatabrar003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

LARGEST AMONG ALL

#include <iostream>

using namespace std;

int main(){

int a,b,c;

cin>>a>>b>>c;

if (a>b){

if (a>c){

cout <<"A is largest"<<endl;

}else {cout << "C is largesr"<<endl;}

else {

if (b>c){

cout << "b is the largest"<< endl;

else{cout<<"c is the largest"<<endl;}

return 0;

}
Percentage of a student of 5 subject.
Pattern box or rectangle:

Hollowed rectangle
Inverted right triangle

Right angle triangle


No. triangle

OR
Different no in a triangle

Right angle triangle


Whilw loop;
For loop;
Do while loop

You might also like