Discussions Events Study Material Jobs
Write a Program that inputs two numbers in main ( ) function passes these numbers to a function. The function displays the maximum number.

Search Books

For Better Search Results Only Write Subject OR Topic Name Like ( Math , Physics , Database , Algorithm ).


Write a Program that inputs two numbers in main ( ) function passes these numbers to a function. The function displays the maximum number.

Write a Program that inputs two numbers in main ( ) function passes these numbers to a function. The function displays the maximum number.

Description:
#include
#include

void max (int a, int b);

void main ( )
{
int x, y;
clrscr ();
cout <<"Enter two numbers";
cin>>x>>y;
max (x, y);
getch ( );
}



void max (int a, int b)
{
if (a > b)
cout<<"Maximum no is "< else
cout<<"Maximum no is "< }


Please Login / Signup to Continue Download Study Material


Download
Disclaimer

Uniwaly does not host or upload any files including books, notes, past papers, or other educational materials. All content is provided through publicly available links from third-party websites such as Google Drive, Dropbox, and other file-sharing platforms. We respect copyright laws and recommend users to only download content that is freely available or shared with permission. If you believe any file violates copyright, please contact us immediately for review.


More Study Materials

Lecture 11 - Clustering - Data Mining

Ordinary Differential Equations

Modeling Structured Finance Cash Flows with Microsoft Excel

Number System & Boolean Algebra SN-2 Notes

57H2019

47G2021

Slides - Lecture 12 - Applied Thermodynamics

60H2024

Computer Networking - Handwritten Notes for Computer Science

Politics: The Basics, 4th Edition

Basic Engineering Circuit Analysis Chapter 6

Proteus Circuit - Parallel pdsprj File

Lab Graphs - Book 1 EDC 1.3 Microsoft Excel File - Electric Devices

Past Papers

Data Structure and Algorithms

Thailand

0412 Social and Cultural Anthropology

Slides - Week 8 and 9- Fundamentals of Thermal Sciences

58J2024

London For Dummies, 6th Edition

18F2025 DIRECTOR ( ADMIN AND FINANCE ) PPSC Syllabus

Proteus Circuit - Parallel pdsprj File

Computer Networks ( Lectures )

Structures - Space Trusses - Engineering Statics

Information Security 2023 GCUF

chapter 44 nuclear structure

Lecture 12 - Machining Processes - Manufacturing Processes

Chapter 11 - Higher Order Differential Equations - Differential Equations

47H2024

Lecture 0 C - Casting Processes - Manufacturing Processes

Arduino Based Hardware & Programming UET Lahore ( FSD Campus )

General Knowledge All About Pakistan

The Fundamentals of Database Management Systems

Labs : VLSI

chapter 39 relativity

30J2024

Big Ideas for Little Kids: Teaching Philosophy through Children's

2J2024

Digital Logic and Computer Design by M. Morris Mano 2nd Edition

10A2025